@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateServiceNetworkVpcAssociationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateServiceNetworkVpcAssociationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateServiceNetworkVpcAssociationRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateServiceNetworkVpcAssociationRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateServiceNetworkVpcAssociationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
List<String> |
getSecurityGroupIds()
The IDs of the security groups.
|
String |
getServiceNetworkIdentifier()
The ID or Amazon Resource Name (ARN) of the service network.
|
Map<String,String> |
getTags()
The tags for the association.
|
String |
getVpcIdentifier()
The ID of the VPC.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups.
|
void |
setServiceNetworkIdentifier(String serviceNetworkIdentifier)
The ID or Amazon Resource Name (ARN) of the service network.
|
void |
setTags(Map<String,String> tags)
The tags for the association.
|
void |
setVpcIdentifier(String vpcIdentifier)
The ID of the VPC.
|
String |
toString()
Returns a string representation of this object.
|
CreateServiceNetworkVpcAssociationRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateServiceNetworkVpcAssociationRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups.
|
CreateServiceNetworkVpcAssociationRequest |
withSecurityGroupIds(String... securityGroupIds)
The IDs of the security groups.
|
CreateServiceNetworkVpcAssociationRequest |
withServiceNetworkIdentifier(String serviceNetworkIdentifier)
The ID or Amazon Resource Name (ARN) of the service network.
|
CreateServiceNetworkVpcAssociationRequest |
withTags(Map<String,String> tags)
The tags for the association.
|
CreateServiceNetworkVpcAssociationRequest |
withVpcIdentifier(String vpcIdentifier)
The ID of the VPC.
|
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 CreateServiceNetworkVpcAssociationRequest()
public 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 CreateServiceNetworkVpcAssociationRequest 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 List<String> getSecurityGroupIds()
The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide.
securityGroupIds
- The IDs of the security groups. Security groups aren't added by default. You can add a security group to
apply network level controls to control which resources in a VPC are allowed to access the service network
and its services. For more information, see Control traffic to
resources using security groups in the Amazon VPC User Guide.public CreateServiceNetworkVpcAssociationRequest withSecurityGroupIds(String... securityGroupIds)
The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- The IDs of the security groups. Security groups aren't added by default. You can add a security group to
apply network level controls to control which resources in a VPC are allowed to access the service network
and its services. For more information, see Control traffic to
resources using security groups in the Amazon VPC User Guide.public CreateServiceNetworkVpcAssociationRequest withSecurityGroupIds(Collection<String> securityGroupIds)
The IDs of the security groups. Security groups aren't added by default. You can add a security group to apply network level controls to control which resources in a VPC are allowed to access the service network and its services. For more information, see Control traffic to resources using security groups in the Amazon VPC User Guide.
securityGroupIds
- The IDs of the security groups. Security groups aren't added by default. You can add a security group to
apply network level controls to control which resources in a VPC are allowed to access the service network
and its services. For more information, see Control traffic to
resources using security groups in the Amazon VPC User Guide.public void setServiceNetworkIdentifier(String serviceNetworkIdentifier)
The ID or Amazon Resource Name (ARN) of the service network. You must use the ARN when the resources specified in the operation are in different accounts.
serviceNetworkIdentifier
- The ID or Amazon Resource Name (ARN) of the service network. You must use the ARN when the resources
specified in the operation are in different accounts.public String getServiceNetworkIdentifier()
The ID or Amazon Resource Name (ARN) of the service network. You must use the ARN when the resources specified in the operation are in different accounts.
public CreateServiceNetworkVpcAssociationRequest withServiceNetworkIdentifier(String serviceNetworkIdentifier)
The ID or Amazon Resource Name (ARN) of the service network. You must use the ARN when the resources specified in the operation are in different accounts.
serviceNetworkIdentifier
- The ID or Amazon Resource Name (ARN) of the service network. You must use the ARN when the resources
specified in the operation are in different accounts.public Map<String,String> getTags()
The tags for the association.
public void setTags(Map<String,String> tags)
The tags for the association.
tags
- The tags for the association.public CreateServiceNetworkVpcAssociationRequest withTags(Map<String,String> tags)
The tags for the association.
tags
- The tags for the association.public CreateServiceNetworkVpcAssociationRequest addTagsEntry(String key, String value)
public CreateServiceNetworkVpcAssociationRequest clearTagsEntries()
public void setVpcIdentifier(String vpcIdentifier)
The ID of the VPC.
vpcIdentifier
- The ID of the VPC.public String getVpcIdentifier()
The ID of the VPC.
public CreateServiceNetworkVpcAssociationRequest withVpcIdentifier(String vpcIdentifier)
The ID of the VPC.
vpcIdentifier
- The ID of the VPC.public String toString()
toString
in class Object
Object.toString()
public CreateServiceNetworkVpcAssociationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()