@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddTagsToCertificateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AddTagsToCertificateRequest() |
Modifier and Type | Method and Description |
---|---|
AddTagsToCertificateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCertificateArn()
String that contains the ARN of the ACM certificate to which the tag is to be applied.
|
List<Tag> |
getTags()
The key-value pair that defines the tag.
|
int |
hashCode() |
void |
setCertificateArn(String certificateArn)
String that contains the ARN of the ACM certificate to which the tag is to be applied.
|
void |
setTags(Collection<Tag> tags)
The key-value pair that defines the tag.
|
String |
toString()
Returns a string representation of this object.
|
AddTagsToCertificateRequest |
withCertificateArn(String certificateArn)
String that contains the ARN of the ACM certificate to which the tag is to be applied.
|
AddTagsToCertificateRequest |
withTags(Collection<Tag> tags)
The key-value pair that defines the tag.
|
AddTagsToCertificateRequest |
withTags(Tag... tags)
The key-value pair that defines the tag.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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).
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).
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).
arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
For more information about ARNs, see Amazon Resource Names (ARNs).
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).
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).
public List<Tag> getTags()
The key-value pair that defines the tag. The tag value is optional.
public void setTags(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(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 String toString()
toString
in class Object
Object.toString()
public AddTagsToCertificateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()