@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request to add tags to a CloudFront resource.
NOOP
Constructor and Description |
---|
TagResourceRequest() |
Modifier and Type | Method and Description |
---|---|
TagResourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getResource()
An ARN of a CloudFront resource.
|
Tags |
getTags()
A complex type that contains zero or more
Tag elements. |
int |
hashCode() |
void |
setResource(String resource)
An ARN of a CloudFront resource.
|
void |
setTags(Tags tags)
A complex type that contains zero or more
Tag elements. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TagResourceRequest |
withResource(String resource)
An ARN of a CloudFront resource.
|
TagResourceRequest |
withTags(Tags tags)
A complex type that contains zero or more
Tag elements. |
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 setResource(String resource)
An ARN of a CloudFront resource.
resource
- An ARN of a CloudFront resource.public String getResource()
An ARN of a CloudFront resource.
public TagResourceRequest withResource(String resource)
An ARN of a CloudFront resource.
resource
- An ARN of a CloudFront resource.public void setTags(Tags tags)
A complex type that contains zero or more Tag
elements.
tags
- A complex type that contains zero or more Tag
elements.public Tags getTags()
A complex type that contains zero or more Tag
elements.
Tag
elements.public TagResourceRequest withTags(Tags tags)
A complex type that contains zero or more Tag
elements.
tags
- A complex type that contains zero or more Tag
elements.public String toString()
toString
in class Object
Object.toString()
public TagResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.