@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVirtualNodeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateVirtualNodeRequest() |
Modifier and Type | Method and Description |
---|---|
CreateVirtualNodeRequest |
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 of the service mesh to create the virtual node in.
|
VirtualNodeSpec |
getSpec()
The virtual node specification to apply.
|
List<TagRef> |
getTags()
Optional metadata that you can apply to the virtual node to assist with categorization and organization.
|
String |
getVirtualNodeName()
The name to use for the virtual node.
|
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 of the service mesh to create the virtual node in.
|
void |
setSpec(VirtualNodeSpec spec)
The virtual node specification to apply.
|
void |
setTags(Collection<TagRef> tags)
Optional metadata that you can apply to the virtual node to assist with categorization and organization.
|
void |
setVirtualNodeName(String virtualNodeName)
The name to use for the virtual node.
|
String |
toString()
Returns a string representation of this object.
|
CreateVirtualNodeRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateVirtualNodeRequest |
withMeshName(String meshName)
The name of the service mesh to create the virtual node in.
|
CreateVirtualNodeRequest |
withSpec(VirtualNodeSpec spec)
The virtual node specification to apply.
|
CreateVirtualNodeRequest |
withTags(Collection<TagRef> tags)
Optional metadata that you can apply to the virtual node to assist with categorization and organization.
|
CreateVirtualNodeRequest |
withTags(TagRef... tags)
Optional metadata that you can apply to the virtual node to assist with categorization and organization.
|
CreateVirtualNodeRequest |
withVirtualNodeName(String virtualNodeName)
The name to use for the virtual node.
|
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 CreateVirtualNodeRequest 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 of the service mesh to create the virtual node in.
meshName
- The name of the service mesh to create the virtual node in.public String getMeshName()
The name of the service mesh to create the virtual node in.
public CreateVirtualNodeRequest withMeshName(String meshName)
The name of the service mesh to create the virtual node in.
meshName
- The name of the service mesh to create the virtual node in.public void setSpec(VirtualNodeSpec spec)
The virtual node specification to apply.
spec
- The virtual node specification to apply.public VirtualNodeSpec getSpec()
The virtual node specification to apply.
public CreateVirtualNodeRequest withSpec(VirtualNodeSpec spec)
The virtual node specification to apply.
spec
- The virtual node specification to apply.public List<TagRef> getTags()
Optional metadata that you can apply to the virtual node 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 virtual node 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 virtual node 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 CreateVirtualNodeRequest withTags(TagRef... tags)
Optional metadata that you can apply to the virtual node 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 virtual node 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 CreateVirtualNodeRequest withTags(Collection<TagRef> tags)
Optional metadata that you can apply to the virtual node 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 virtual node 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 setVirtualNodeName(String virtualNodeName)
The name to use for the virtual node.
virtualNodeName
- The name to use for the virtual node.public String getVirtualNodeName()
The name to use for the virtual node.
public CreateVirtualNodeRequest withVirtualNodeName(String virtualNodeName)
The name to use for the virtual node.
virtualNodeName
- The name to use for the virtual node.public String toString()
toString
in class Object
Object.toString()
public CreateVirtualNodeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.