Tabnine Logo
Item.setAttributes
Code IndexAdd Tabnine to your IDE (free)

How to use
setAttributes
method
in
com.amazonaws.services.simpledb.model.Item

Best Java code snippets using com.amazonaws.services.simpledb.model.Item.setAttributes (Showing top 8 results out of 315)

origin: aws/aws-sdk-java

/**
 * A list of attributes.
 * 
 * @param attributes
 *        A list of attributes.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public Item withAttributes(java.util.Collection<Attribute> attributes) {
  setAttributes(attributes);
  return this;
}
origin: aws/aws-sdk-java

/**
 * Constructs a new Item object. Callers should use the setter or fluent setter (with...) methods to initialize any
 * additional object members.
 * 
 * @param name
 *        The name of the item.
 * @param attributes
 *        A list of attributes.
 */
public Item(String name, java.util.List<Attribute> attributes) {
  setName(name);
  setAttributes(attributes);
}
origin: aws/aws-sdk-java

/**
 * A list of attributes.
 * <p>
 * <b>NOTE:</b> This method appends the values to the existing list (if any). Use
 * {@link #setAttributes(java.util.Collection)} or {@link #withAttributes(java.util.Collection)} if you want to
 * override the existing values.
 * </p>
 * 
 * @param attributes
 *        A list of attributes.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public Item withAttributes(Attribute... attributes) {
  if (this.attributes == null) {
    setAttributes(new com.amazonaws.internal.SdkInternalList<Attribute>(attributes.length));
  }
  for (Attribute ele : attributes) {
    this.attributes.add(ele);
  }
  return this;
}
origin: aws-amplify/aws-sdk-android

/**
 * Constructs a new Item object.
 * Callers should use the setter or fluent setter (with...) methods to
 * initialize any additional object members.
 * 
 * @param name The name of the item.
 * @param attributes A list of attributes.
 */
public Item(String name, java.util.List<Attribute> attributes) {
  setName(name);
  setAttributes(attributes);
}
origin: aws-amplify/aws-sdk-android

/**
 * A list of attributes.
 * <p>
 * Returns a reference to this object so that method calls can be chained together.
 *
 * @param attributes A list of attributes.
 *
 * @return A reference to this updated object so that method calls can be chained
 *         together.
 */
public Item withAttributes(Attribute... attributes) {
  if (getAttributes() == null) setAttributes(new java.util.ArrayList<Attribute>(attributes.length));
  for (Attribute value : attributes) {
    getAttributes().add(value);
  }
  return this;
}

origin: com.amazonaws/aws-java-sdk-simpledb

/**
 * A list of attributes.
 * 
 * @param attributes
 *        A list of attributes.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public Item withAttributes(java.util.Collection<Attribute> attributes) {
  setAttributes(attributes);
  return this;
}
origin: com.amazonaws/aws-java-sdk-simpledb

/**
 * Constructs a new Item object. Callers should use the setter or fluent setter (with...) methods to initialize any
 * additional object members.
 * 
 * @param name
 *        The name of the item.
 * @param attributes
 *        A list of attributes.
 */
public Item(String name, java.util.List<Attribute> attributes) {
  setName(name);
  setAttributes(attributes);
}
origin: com.amazonaws/aws-java-sdk-simpledb

/**
 * A list of attributes.
 * <p>
 * <b>NOTE:</b> This method appends the values to the existing list (if any). Use
 * {@link #setAttributes(java.util.Collection)} or {@link #withAttributes(java.util.Collection)} if you want to
 * override the existing values.
 * </p>
 * 
 * @param attributes
 *        A list of attributes.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public Item withAttributes(Attribute... attributes) {
  if (this.attributes == null) {
    setAttributes(new com.amazonaws.internal.SdkInternalList<Attribute>(attributes.length));
  }
  for (Attribute ele : attributes) {
    this.attributes.add(ele);
  }
  return this;
}
com.amazonaws.services.simpledb.modelItemsetAttributes

Javadoc

A list of attributes.

Popular methods of Item

  • getAttributes
    A list of attributes.
  • getName
    The name of the item.
  • <init>
    Constructs a new Item object. Callers should use the setter or fluent setter (with...) methods to in
  • setName
    The name of the item.
  • getAlternateNameEncoding
  • setAlternateNameEncoding
  • withAttributes
    A list of attributes.NOTE: This method appends the values to the existing list (if any). Use #setAtt

Popular in Java

  • Reading from database using SQL prepared statement
  • findViewById (Activity)
  • putExtra (Intent)
  • notifyDataSetChanged (ArrayAdapter)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Table (org.hibernate.mapping)
    A relational table
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now