@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateServiceNetworkRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateServiceNetworkRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateServiceNetworkRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateServiceNetworkRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateServiceNetworkRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAuthType()
The type of IAM policy.
|
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getName()
The name of the service network.
|
Map<String,String> |
getTags()
The tags for the service network.
|
int |
hashCode() |
void |
setAuthType(String authType)
The type of IAM policy.
|
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setName(String name)
The name of the service network.
|
void |
setTags(Map<String,String> tags)
The tags for the service network.
|
String |
toString()
Returns a string representation of this object.
|
CreateServiceNetworkRequest |
withAuthType(AuthType authType)
The type of IAM policy.
|
CreateServiceNetworkRequest |
withAuthType(String authType)
The type of IAM policy.
|
CreateServiceNetworkRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateServiceNetworkRequest |
withName(String name)
The name of the service network.
|
CreateServiceNetworkRequest |
withTags(Map<String,String> tags)
The tags for the service 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, withSdkRequestTimeoutpublic void setAuthType(String authType)
The type of IAM policy.
NONE: The resource does not use an IAM policy. This is the default.
AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy
is required.
authType - The type of IAM policy.
NONE: The resource does not use an IAM policy. This is the default.
AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth
policy is required.
AuthTypepublic String getAuthType()
The type of IAM policy.
NONE: The resource does not use an IAM policy. This is the default.
AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy
is required.
NONE: The resource does not use an IAM policy. This is the default.
AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an
auth policy is required.
AuthTypepublic CreateServiceNetworkRequest withAuthType(String authType)
The type of IAM policy.
NONE: The resource does not use an IAM policy. This is the default.
AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy
is required.
authType - The type of IAM policy.
NONE: The resource does not use an IAM policy. This is the default.
AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth
policy is required.
AuthTypepublic CreateServiceNetworkRequest withAuthType(AuthType authType)
The type of IAM policy.
NONE: The resource does not use an IAM policy. This is the default.
AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy
is required.
authType - The type of IAM policy.
NONE: The resource does not use an IAM policy. This is the default.
AWS_IAM: The resource uses an IAM policy. When this type is used, auth is enabled and an auth
policy is required.
AuthTypepublic void setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you
retry a request that completed successfully using the same client token and parameters, the retry succeeds
without performing any actions. If the parameters aren't identical, the retry fails.public String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
public CreateServiceNetworkRequest withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you
retry a request that completed successfully using the same client token and parameters, the retry succeeds
without performing any actions. If the parameters aren't identical, the retry fails.public void setName(String name)
The name of the service network. The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
name - The name of the service network. The name must be unique to the account. The valid characters are a-z,
0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another
hyphen.public String getName()
The name of the service network. The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
public CreateServiceNetworkRequest withName(String name)
The name of the service network. The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
name - The name of the service network. The name must be unique to the account. The valid characters are a-z,
0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another
hyphen.public Map<String,String> getTags()
The tags for the service network.
public void setTags(Map<String,String> tags)
The tags for the service network.
tags - The tags for the service network.public CreateServiceNetworkRequest withTags(Map<String,String> tags)
The tags for the service network.
tags - The tags for the service network.public CreateServiceNetworkRequest addTagsEntry(String key, String value)
public CreateServiceNetworkRequest clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public CreateServiceNetworkRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()