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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description AddTagsToCertificateRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddTagsToCertificateRequest
clone()
Creates a shallow clone of this request.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; useful for testing and debugging.AddTagsToCertificateRequest
withCertificateArn(String certificateArn)
String that contains the ARN of the ACM Certificate to which the tag is to be applied.AddTagsToCertificateRequest
withTags(Tag... tags)
The key-value pair that defines the tag.AddTagsToCertificateRequest
withTags(Collection<Tag> tags)
The key-value pair that defines the tag.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
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)
orwithTags(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AddTagsToCertificateRequest 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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-