@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTagOptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateTagOptionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTagOptionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getKey()
The TagOption key.
|
String |
getValue()
The TagOption value.
|
int |
hashCode() |
void |
setKey(String key)
The TagOption key.
|
void |
setValue(String value)
The TagOption value.
|
String |
toString()
Returns a string representation of this object.
|
CreateTagOptionRequest |
withKey(String key)
The TagOption key.
|
CreateTagOptionRequest |
withValue(String value)
The TagOption value.
|
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 setKey(String key)
The TagOption key.
key
- The TagOption key.public String getKey()
The TagOption key.
public CreateTagOptionRequest withKey(String key)
The TagOption key.
key
- The TagOption key.public void setValue(String value)
The TagOption value.
value
- The TagOption value.public String getValue()
The TagOption value.
public CreateTagOptionRequest withValue(String value)
The TagOption value.
value
- The TagOption value.public String toString()
toString
in class Object
Object.toString()
public CreateTagOptionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()