@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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 |
getResourceARN()
The Amazon RDS Performance Insights resource that the tags are added to.
|
String |
getServiceType()
The Amazon Web Services service for which Performance Insights returns metrics.
|
List<Tag> |
getTags()
The metadata assigned to an Amazon RDS resource consisting of a key-value pair.
|
int |
hashCode() |
void |
setResourceARN(String resourceARN)
The Amazon RDS Performance Insights resource that the tags are added to.
|
void |
setServiceType(String serviceType)
The Amazon Web Services service for which Performance Insights returns metrics.
|
void |
setTags(Collection<Tag> tags)
The metadata assigned to an Amazon RDS resource consisting of a key-value pair.
|
String |
toString()
Returns a string representation of this object.
|
TagResourceRequest |
withResourceARN(String resourceARN)
The Amazon RDS Performance Insights resource that the tags are added to.
|
TagResourceRequest |
withServiceType(ServiceType serviceType)
The Amazon Web Services service for which Performance Insights returns metrics.
|
TagResourceRequest |
withServiceType(String serviceType)
The Amazon Web Services service for which Performance Insights returns metrics.
|
TagResourceRequest |
withTags(Collection<Tag> tags)
The metadata assigned to an Amazon RDS resource consisting of a key-value pair.
|
TagResourceRequest |
withTags(Tag... tags)
The metadata assigned to an Amazon RDS resource consisting of a key-value pair.
|
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, withSdkRequestTimeoutpublic void setServiceType(String serviceType)
The Amazon Web Services service for which Performance Insights returns metrics. Valid value is RDS.
serviceType - The Amazon Web Services service for which Performance Insights returns metrics. Valid value is
RDS.ServiceTypepublic String getServiceType()
The Amazon Web Services service for which Performance Insights returns metrics. Valid value is RDS.
RDS.ServiceTypepublic TagResourceRequest withServiceType(String serviceType)
The Amazon Web Services service for which Performance Insights returns metrics. Valid value is RDS.
serviceType - The Amazon Web Services service for which Performance Insights returns metrics. Valid value is
RDS.ServiceTypepublic TagResourceRequest withServiceType(ServiceType serviceType)
The Amazon Web Services service for which Performance Insights returns metrics. Valid value is RDS.
serviceType - The Amazon Web Services service for which Performance Insights returns metrics. Valid value is
RDS.ServiceTypepublic void setResourceARN(String resourceARN)
The Amazon RDS Performance Insights resource that the tags are added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
resourceARN - The Amazon RDS Performance Insights resource that the tags are added to. This value is an Amazon Resource
Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).public String getResourceARN()
The Amazon RDS Performance Insights resource that the tags are added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
public TagResourceRequest withResourceARN(String resourceARN)
The Amazon RDS Performance Insights resource that the tags are added to. This value is an Amazon Resource Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).
resourceARN - The Amazon RDS Performance Insights resource that the tags are added to. This value is an Amazon Resource
Name (ARN). For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).public List<Tag> getTags()
The metadata assigned to an Amazon RDS resource consisting of a key-value pair.
public void setTags(Collection<Tag> tags)
The metadata assigned to an Amazon RDS resource consisting of a key-value pair.
tags - The metadata assigned to an Amazon RDS resource consisting of a key-value pair.public TagResourceRequest withTags(Tag... tags)
The metadata assigned to an Amazon RDS resource consisting of a key-value pair.
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 metadata assigned to an Amazon RDS resource consisting of a key-value pair.public TagResourceRequest withTags(Collection<Tag> tags)
The metadata assigned to an Amazon RDS resource consisting of a key-value pair.
tags - The metadata assigned to an Amazon RDS resource consisting of a key-value pair.public String toString()
toString in class ObjectObject.toString()public TagResourceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()