Class AddTagsToCertificateRequest

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

public class AddTagsToCertificateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

See Also:
  • Constructor Details

    • AddTagsToCertificateRequest

      public AddTagsToCertificateRequest()
  • Method Details

    • setCertificateArn

      public void setCertificateArn(String certificateArn)

      String that contains the ARN of the ACM Certificate to which the tag is to be applied. This must be of the form:

      arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

      For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.

      Parameters:
      certificateArn - String that contains the ARN of the ACM Certificate to which the tag is to be applied. This must be of the form:

      arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

      For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.

    • getCertificateArn

      public String getCertificateArn()

      String that contains the ARN of the ACM Certificate to which the tag is to be applied. This must be of the form:

      arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

      For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.

      Returns:
      String that contains the ARN of the ACM Certificate to which the tag is to be applied. This must be of the form:

      arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

      For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.

    • withCertificateArn

      public AddTagsToCertificateRequest withCertificateArn(String certificateArn)

      String that contains the ARN of the ACM Certificate to which the tag is to be applied. This must be of the form:

      arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

      For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.

      Parameters:
      certificateArn - String that contains the ARN of the ACM Certificate to which the tag is to be applied. This must be of the form:

      arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012

      For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.

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

      public List<Tag> getTags()

      The key-value pair that defines the tag. The tag value is optional.

      Returns:
      The key-value pair that defines the tag. The tag value is optional.
    • setTags

      public void setTags(Collection<Tag> tags)

      The key-value pair that defines the tag. The tag value is optional.

      Parameters:
      tags - The key-value pair that defines the tag. The tag value is optional.
    • withTags

      public AddTagsToCertificateRequest withTags(Tag... tags)

      The key-value pair that defines the tag. The tag value is optional.

      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 - The key-value pair that defines the tag. The tag value is optional.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTags

      public AddTagsToCertificateRequest withTags(Collection<Tag> tags)

      The key-value pair that defines the tag. The tag value is optional.

      Parameters:
      tags - The key-value pair that defines the tag. The tag value is optional.
      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

      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: