@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateMeshRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateMeshRequest() |
Modifier and Type | Method and Description |
---|---|
CreateMeshRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getMeshName()
The name to use for the service mesh.
|
MeshSpec |
getSpec()
The service mesh specification to apply.
|
List<TagRef> |
getTags()
Optional metadata that you can apply to the service mesh to assist with categorization and organization.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setMeshName(String meshName)
The name to use for the service mesh.
|
void |
setSpec(MeshSpec spec)
The service mesh specification to apply.
|
void |
setTags(Collection<TagRef> tags)
Optional metadata that you can apply to the service mesh to assist with categorization and organization.
|
String |
toString()
Returns a string representation of this object.
|
CreateMeshRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateMeshRequest |
withMeshName(String meshName)
The name to use for the service mesh.
|
CreateMeshRequest |
withSpec(MeshSpec spec)
The service mesh specification to apply.
|
CreateMeshRequest |
withTags(Collection<TagRef> tags)
Optional metadata that you can apply to the service mesh to assist with categorization and organization.
|
CreateMeshRequest |
withTags(TagRef... tags)
Optional metadata that you can apply to the service mesh to assist with categorization and organization.
|
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)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36
letters, numbers, hyphens, and underscores are allowed.public String getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
public CreateMeshRequest withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36
letters, numbers, hyphens, and underscores are allowed.public void setMeshName(String meshName)
The name to use for the service mesh.
meshName
- The name to use for the service mesh.public String getMeshName()
The name to use for the service mesh.
public CreateMeshRequest withMeshName(String meshName)
The name to use for the service mesh.
meshName
- The name to use for the service mesh.public void setSpec(MeshSpec spec)
The service mesh specification to apply.
spec
- The service mesh specification to apply.public MeshSpec getSpec()
The service mesh specification to apply.
public CreateMeshRequest withSpec(MeshSpec spec)
The service mesh specification to apply.
spec
- The service mesh specification to apply.public List<TagRef> getTags()
Optional metadata that you can apply to the service mesh to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
public void setTags(Collection<TagRef> tags)
Optional metadata that you can apply to the service mesh to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
tags
- Optional metadata that you can apply to the service mesh to assist with categorization and organization.
Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum
character length of 128 characters, and tag values can have a maximum length of 256 characters.public CreateMeshRequest withTags(TagRef... tags)
Optional metadata that you can apply to the service mesh to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
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
- Optional metadata that you can apply to the service mesh to assist with categorization and organization.
Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum
character length of 128 characters, and tag values can have a maximum length of 256 characters.public CreateMeshRequest withTags(Collection<TagRef> tags)
Optional metadata that you can apply to the service mesh to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
tags
- Optional metadata that you can apply to the service mesh to assist with categorization and organization.
Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum
character length of 128 characters, and tag values can have a maximum length of 256 characters.public String toString()
toString
in class Object
Object.toString()
public CreateMeshRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.