@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, withSdkRequestTimeout
public 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
.ServiceType
public String getServiceType()
The Amazon Web Services service for which Performance Insights returns metrics. Valid value is RDS
.
RDS
.ServiceType
public 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
.ServiceType
public 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
.ServiceType
public 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 Object
Object.toString()
public TagResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()