@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateNetworkRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateNetworkRequest() |
Modifier and Type | Method and Description |
---|---|
CreateNetworkRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateNetworkRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateNetworkRequest |
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 |
getDescription()
The description of the network.
|
String |
getNetworkName()
The name of the network.
|
Map<String,String> |
getTags()
The tags to apply to the network.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setDescription(String description)
The description of the network.
|
void |
setNetworkName(String networkName)
The name of the network.
|
void |
setTags(Map<String,String> tags)
The tags to apply to the network.
|
String |
toString()
Returns a string representation of this object.
|
CreateNetworkRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateNetworkRequest |
withDescription(String description)
The description of the network.
|
CreateNetworkRequest |
withNetworkName(String networkName)
The name of the network.
|
CreateNetworkRequest |
withTags(Map<String,String> tags)
The tags to apply to the network.
|
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. For more information, see How to ensure idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to ensure
idempotency.public String getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
public CreateNetworkRequest withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more
information, see How to ensure
idempotency.public void setDescription(String description)
The description of the network.
description
- The description of the network.public String getDescription()
The description of the network.
public CreateNetworkRequest withDescription(String description)
The description of the network.
description
- The description of the network.public void setNetworkName(String networkName)
The name of the network. You can't change the name after you create the network.
networkName
- The name of the network. You can't change the name after you create the network.public String getNetworkName()
The name of the network. You can't change the name after you create the network.
public CreateNetworkRequest withNetworkName(String networkName)
The name of the network. You can't change the name after you create the network.
networkName
- The name of the network. You can't change the name after you create the network.public Map<String,String> getTags()
The tags to apply to the network.
public void setTags(Map<String,String> tags)
The tags to apply to the network.
tags
- The tags to apply to the network.public CreateNetworkRequest withTags(Map<String,String> tags)
The tags to apply to the network.
tags
- The tags to apply to the network.public CreateNetworkRequest addTagsEntry(String key, String value)
public CreateNetworkRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateNetworkRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()