Tabnine Logo
Image.setTags
Code IndexAdd Tabnine to your IDE (free)

How to use
setTags
method
in
com.amazonaws.services.ec2.model.Image

Best Java code snippets using com.amazonaws.services.ec2.model.Image.setTags (Showing top 5 results out of 315)

origin: aws/aws-sdk-java

/**
 * <p>
 * Any tags assigned to the image.
 * </p>
 * 
 * @param tags
 *        Any tags assigned to the image.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public Image withTags(java.util.Collection<Tag> tags) {
  setTags(tags);
  return this;
}
origin: aws/aws-sdk-java

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

/**
 * Any tags assigned to the image.
 * <p>
 * Returns a reference to this object so that method calls can be chained together.
 *
 * @param tags Any tags assigned to the image.
 *
 * @return A reference to this updated object so that method calls can be chained
 *         together.
 */
public Image withTags(Tag... tags) {
  if (getTags() == null) setTags(new java.util.ArrayList<Tag>(tags.length));
  for (Tag value : tags) {
    getTags().add(value);
  }
  return this;
}

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

/**
 * <p>
 * Any tags assigned to the image.
 * </p>
 * 
 * @param tags
 *        Any tags assigned to the image.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public Image withTags(java.util.Collection<Tag> tags) {
  setTags(tags);
  return this;
}
origin: com.amazonaws/aws-java-sdk-ec2

/**
 * <p>
 * Any tags assigned to the image.
 * </p>
 * <p>
 * <b>NOTE:</b> This method appends the values to the existing list (if any). Use
 * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the
 * existing values.
 * </p>
 * 
 * @param tags
 *        Any tags assigned to the image.
 * @return Returns a reference to this object so that method calls can be chained together.
 */
public Image withTags(Tag... tags) {
  if (this.tags == null) {
    setTags(new com.amazonaws.internal.SdkInternalList<Tag>(tags.length));
  }
  for (Tag ele : tags) {
    this.tags.add(ele);
  }
  return this;
}
com.amazonaws.services.ec2.modelImagesetTags

Javadoc

Any tags assigned to the image.

Popular methods of Image

  • getImageId
    The ID of the AMI.
  • getName
    The name of the AMI that was provided during image creation.
  • getBlockDeviceMappings
    Any block device mapping entries.
  • getImageLocation
    The location of the AMI.
  • getImageOwnerAlias
    The AWS account alias (for example, amazon, self) or the AWS account ID of the AMI owner.
  • getOwnerId
    The AWS account ID of the image owner.
  • getPlatform
    The value is Windows for Windows AMIs; otherwise blank.
  • getRootDeviceName
    The device name of the root device volume (for example, /dev/sda1).
  • getRootDeviceType
    The type of root device used by the AMI. The AMI can use an EBS volume or an instance store volume.
  • getState
    The current state of the AMI. If the state is available, the image is successfully registered and c
  • getTags
    Any tags assigned to the image.
  • setImageId
    The ID of the AMI.
  • getTags,
  • setImageId,
  • <init>,
  • getArchitecture,
  • getCreationDate,
  • getDescription,
  • getHypervisor,
  • getImageType,
  • getKernelId,
  • getProductCodes

Popular in Java

  • Creating JSON documents from java classes using gson
  • runOnUiThread (Activity)
  • compareTo (BigDecimal)
  • putExtra (Intent)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • 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