@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateNetworkSettingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateNetworkSettingsRequest() |
Modifier and Type | Method and Description |
---|---|
CreateNetworkSettingsRequest |
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()
One or more security groups used to control access from streaming instances to your VPC.
|
List<String> |
getSubnetIds()
The subnets in which network interfaces are created to connect streaming instances to your VPC.
|
List<Tag> |
getTags()
The tags to add to the network settings resource.
|
String |
getVpcId()
The VPC that streaming instances will connect to.
|
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)
One or more security groups used to control access from streaming instances to your VPC.
|
void |
setSubnetIds(Collection<String> subnetIds)
The subnets in which network interfaces are created to connect streaming instances to your VPC.
|
void |
setTags(Collection<Tag> tags)
The tags to add to the network settings resource.
|
void |
setVpcId(String vpcId)
The VPC that streaming instances will connect to.
|
String |
toString()
Returns a string representation of this object.
|
CreateNetworkSettingsRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateNetworkSettingsRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
One or more security groups used to control access from streaming instances to your VPC.
|
CreateNetworkSettingsRequest |
withSecurityGroupIds(String... securityGroupIds)
One or more security groups used to control access from streaming instances to your VPC.
|
CreateNetworkSettingsRequest |
withSubnetIds(Collection<String> subnetIds)
The subnets in which network interfaces are created to connect streaming instances to your VPC.
|
CreateNetworkSettingsRequest |
withSubnetIds(String... subnetIds)
The subnets in which network interfaces are created to connect streaming instances to your VPC.
|
CreateNetworkSettingsRequest |
withTags(Collection<Tag> tags)
The tags to add to the network settings resource.
|
CreateNetworkSettingsRequest |
withTags(Tag... tags)
The tags to add to the network settings resource.
|
CreateNetworkSettingsRequest |
withVpcId(String vpcId)
The VPC that streaming instances will connect to.
|
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)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.
If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency
ensures that an API request completes only once. With an idempotent request, if the original request
completes successfully, subsequent retries with the same client token returns the result from the original
successful request.
If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.
public String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.
If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.
If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.
public CreateNetworkSettingsRequest withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.
If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency
ensures that an API request completes only once. With an idempotent request, if the original request
completes successfully, subsequent retries with the same client token returns the result from the original
successful request.
If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.
public List<String> getSecurityGroupIds()
One or more security groups used to control access from streaming instances to your VPC.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
One or more security groups used to control access from streaming instances to your VPC.
securityGroupIds
- One or more security groups used to control access from streaming instances to your VPC.public CreateNetworkSettingsRequest withSecurityGroupIds(String... securityGroupIds)
One or more security groups used to control access from streaming instances to your VPC.
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
- One or more security groups used to control access from streaming instances to your VPC.public CreateNetworkSettingsRequest withSecurityGroupIds(Collection<String> securityGroupIds)
One or more security groups used to control access from streaming instances to your VPC.
securityGroupIds
- One or more security groups used to control access from streaming instances to your VPC.public List<String> getSubnetIds()
The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.
public void setSubnetIds(Collection<String> subnetIds)
The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.
subnetIds
- The subnets in which network interfaces are created to connect streaming instances to your VPC. At least
two of these subnets must be in different availability zones.public CreateNetworkSettingsRequest withSubnetIds(String... subnetIds)
The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- The subnets in which network interfaces are created to connect streaming instances to your VPC. At least
two of these subnets must be in different availability zones.public CreateNetworkSettingsRequest withSubnetIds(Collection<String> subnetIds)
The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.
subnetIds
- The subnets in which network interfaces are created to connect streaming instances to your VPC. At least
two of these subnets must be in different availability zones.public List<Tag> getTags()
The tags to add to the network settings resource. A tag is a key-value pair.
public void setTags(Collection<Tag> tags)
The tags to add to the network settings resource. A tag is a key-value pair.
tags
- The tags to add to the network settings resource. A tag is a key-value pair.public CreateNetworkSettingsRequest withTags(Tag... tags)
The tags to add to the network settings resource. A tag is a key-value pair.
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
- The tags to add to the network settings resource. A tag is a key-value pair.public CreateNetworkSettingsRequest withTags(Collection<Tag> tags)
The tags to add to the network settings resource. A tag is a key-value pair.
tags
- The tags to add to the network settings resource. A tag is a key-value pair.public void setVpcId(String vpcId)
The VPC that streaming instances will connect to.
vpcId
- The VPC that streaming instances will connect to.public String getVpcId()
The VPC that streaming instances will connect to.
public CreateNetworkSettingsRequest withVpcId(String vpcId)
The VPC that streaming instances will connect to.
vpcId
- The VPC that streaming instances will connect to.public String toString()
toString
in class Object
Object.toString()
public CreateNetworkSettingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()