@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFarmRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateFarmRequest() |
Modifier and Type | Method and Description |
---|---|
CreateFarmRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateFarmRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateFarmRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
The unique token which the server uses to recognize retries of the same request.
|
String |
getDescription()
The description of the farm.
|
String |
getDisplayName()
The display name of the farm.
|
String |
getKmsKeyArn()
The ARN of the KMS key to use on the farm.
|
Map<String,String> |
getTags()
The tags to add to your farm.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
|
void |
setDescription(String description)
The description of the farm.
|
void |
setDisplayName(String displayName)
The display name of the farm.
|
void |
setKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key to use on the farm.
|
void |
setTags(Map<String,String> tags)
The tags to add to your farm.
|
String |
toString()
Returns a string representation of this object.
|
CreateFarmRequest |
withClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
|
CreateFarmRequest |
withDescription(String description)
The description of the farm.
|
CreateFarmRequest |
withDisplayName(String displayName)
The display name of the farm.
|
CreateFarmRequest |
withKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key to use on the farm.
|
CreateFarmRequest |
withTags(Map<String,String> tags)
The tags to add to your farm.
|
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 setClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
clientToken
- The unique token which the server uses to recognize retries of the same request.public String getClientToken()
The unique token which the server uses to recognize retries of the same request.
public CreateFarmRequest withClientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
clientToken
- The unique token which the server uses to recognize retries of the same request.public void setDescription(String description)
The description of the farm.
description
- The description of the farm.public String getDescription()
The description of the farm.
public CreateFarmRequest withDescription(String description)
The description of the farm.
description
- The description of the farm.public void setDisplayName(String displayName)
The display name of the farm.
displayName
- The display name of the farm.public String getDisplayName()
The display name of the farm.
public CreateFarmRequest withDisplayName(String displayName)
The display name of the farm.
displayName
- The display name of the farm.public void setKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key to use on the farm.
kmsKeyArn
- The ARN of the KMS key to use on the farm.public String getKmsKeyArn()
The ARN of the KMS key to use on the farm.
public CreateFarmRequest withKmsKeyArn(String kmsKeyArn)
The ARN of the KMS key to use on the farm.
kmsKeyArn
- The ARN of the KMS key to use on the farm.public Map<String,String> getTags()
The tags to add to your farm. Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.
public void setTags(Map<String,String> tags)
The tags to add to your farm. Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.
tags
- The tags to add to your farm. Each tag consists of a tag key and a tag value. Tag keys and values are both
required, but tag values can be empty strings.public CreateFarmRequest withTags(Map<String,String> tags)
The tags to add to your farm. Each tag consists of a tag key and a tag value. Tag keys and values are both required, but tag values can be empty strings.
tags
- The tags to add to your farm. Each tag consists of a tag key and a tag value. Tag keys and values are both
required, but tag values can be empty strings.public CreateFarmRequest addTagsEntry(String key, String value)
public CreateFarmRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateFarmRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()