Class CreateTagsRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.applicationdiscovery.model.CreateTagsRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class CreateTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • CreateTagsRequest

      public CreateTagsRequest()
  • Method Details

    • getConfigurationIds

      public List<String> getConfigurationIds()

      A list of configuration items that you want to tag.

      Returns:
      A list of configuration items that you want to tag.
    • setConfigurationIds

      public void setConfigurationIds(Collection<String> configurationIds)

      A list of configuration items that you want to tag.

      Parameters:
      configurationIds - A list of configuration items that you want to tag.
    • withConfigurationIds

      public CreateTagsRequest withConfigurationIds(String... configurationIds)

      A list of configuration items that you want to tag.

      NOTE: This method appends the values to the existing list (if any). Use setConfigurationIds(java.util.Collection) or withConfigurationIds(java.util.Collection) if you want to override the existing values.

      Parameters:
      configurationIds - A list of configuration items that you want to tag.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withConfigurationIds

      public CreateTagsRequest withConfigurationIds(Collection<String> configurationIds)

      A list of configuration items that you want to tag.

      Parameters:
      configurationIds - A list of configuration items that you want to tag.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getTags

      public List<Tag> getTags()

      Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:

      {"key": "serverType", "value": "webServer"}

      Returns:
      Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:

      {"key": "serverType", "value": "webServer"}

    • setTags

      public void setTags(Collection<Tag> tags)

      Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:

      {"key": "serverType", "value": "webServer"}

      Parameters:
      tags - Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:

      {"key": "serverType", "value": "webServer"}

    • withTags

      public CreateTagsRequest withTags(Tag... tags)

      Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:

      {"key": "serverType", "value": "webServer"}

      NOTE: This method appends the values to the existing list (if any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing values.

      Parameters:
      tags - Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:

      {"key": "serverType", "value": "webServer"}

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTags

      public CreateTagsRequest withTags(Collection<Tag> tags)

      Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:

      {"key": "serverType", "value": "webServer"}

      Parameters:
      tags - Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:

      {"key": "serverType", "value": "webServer"}

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public CreateTagsRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: