public class AddTagsToCertificateRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
certificateArn
String that contains the ARN of the ACM Certificate to which the tag is
to be applied.
|
private java.util.List<Tag> |
tags
The key-value pair that defines the tag.
|
NOOP
Constructor and Description |
---|
AddTagsToCertificateRequest() |
Modifier and Type | Method and Description |
---|---|
AddTagsToCertificateRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCertificateArn()
String that contains the ARN of the ACM Certificate to which the tag is
to be applied.
|
java.util.List<Tag> |
getTags()
The key-value pair that defines the tag.
|
int |
hashCode() |
void |
setCertificateArn(java.lang.String certificateArn)
String that contains the ARN of the ACM Certificate to which the tag is
to be applied.
|
void |
setTags(java.util.Collection<Tag> tags)
The key-value pair that defines the tag.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddTagsToCertificateRequest |
withCertificateArn(java.lang.String certificateArn)
String that contains the ARN of the ACM Certificate to which the tag is
to be applied.
|
AddTagsToCertificateRequest |
withTags(java.util.Collection<Tag> tags)
The key-value pair that defines the tag.
|
AddTagsToCertificateRequest |
withTags(Tag... tags)
The key-value pair that defines the tag.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.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.
private java.util.List<Tag> tags
The key-value pair that defines the tag. The tag value is optional.
public void setCertificateArn(java.lang.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.
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.
public java.lang.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.
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.
public AddTagsToCertificateRequest withCertificateArn(java.lang.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.
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.
public java.util.List<Tag> getTags()
The key-value pair that defines the tag. The tag value is optional.
public void setTags(java.util.Collection<Tag> tags)
The key-value pair that defines the tag. The tag value is optional.
tags
- The key-value pair that defines the tag. The tag value is
optional.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.
tags
- The key-value pair that defines the tag. The tag value is
optional.public AddTagsToCertificateRequest withTags(java.util.Collection<Tag> tags)
The key-value pair that defines the tag. The tag value is optional.
tags
- The key-value pair that defines the tag. The tag value is
optional.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AddTagsToCertificateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()