@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssetBundleImportJobVPCConnectionOverrideParameters extends Object implements Serializable, Cloneable, StructuredPojo
The override parameters for a single VPC connection that is imported.
Constructor and Description |
---|
AssetBundleImportJobVPCConnectionOverrideParameters() |
Modifier and Type | Method and Description |
---|---|
AssetBundleImportJobVPCConnectionOverrideParameters |
clone() |
boolean |
equals(Object obj) |
List<String> |
getDnsResolvers()
An optional override of DNS resolvers to be used by the VPC connection.
|
String |
getName()
A new name for the VPC connection.
|
String |
getRoleArn()
An optional override of the role ARN to be used by the VPC connection.
|
List<String> |
getSecurityGroupIds()
A new security group ID for the VPC connection you are importing.
|
List<String> |
getSubnetIds()
A list of new subnet IDs for the VPC connection you are importing.
|
String |
getVPCConnectionId()
The ID of the VPC Connection to apply overrides to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDnsResolvers(Collection<String> dnsResolvers)
An optional override of DNS resolvers to be used by the VPC connection.
|
void |
setName(String name)
A new name for the VPC connection.
|
void |
setRoleArn(String roleArn)
An optional override of the role ARN to be used by the VPC connection.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
A new security group ID for the VPC connection you are importing.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of new subnet IDs for the VPC connection you are importing.
|
void |
setVPCConnectionId(String vPCConnectionId)
The ID of the VPC Connection to apply overrides to.
|
String |
toString()
Returns a string representation of this object.
|
AssetBundleImportJobVPCConnectionOverrideParameters |
withDnsResolvers(Collection<String> dnsResolvers)
An optional override of DNS resolvers to be used by the VPC connection.
|
AssetBundleImportJobVPCConnectionOverrideParameters |
withDnsResolvers(String... dnsResolvers)
An optional override of DNS resolvers to be used by the VPC connection.
|
AssetBundleImportJobVPCConnectionOverrideParameters |
withName(String name)
A new name for the VPC connection.
|
AssetBundleImportJobVPCConnectionOverrideParameters |
withRoleArn(String roleArn)
An optional override of the role ARN to be used by the VPC connection.
|
AssetBundleImportJobVPCConnectionOverrideParameters |
withSecurityGroupIds(Collection<String> securityGroupIds)
A new security group ID for the VPC connection you are importing.
|
AssetBundleImportJobVPCConnectionOverrideParameters |
withSecurityGroupIds(String... securityGroupIds)
A new security group ID for the VPC connection you are importing.
|
AssetBundleImportJobVPCConnectionOverrideParameters |
withSubnetIds(Collection<String> subnetIds)
A list of new subnet IDs for the VPC connection you are importing.
|
AssetBundleImportJobVPCConnectionOverrideParameters |
withSubnetIds(String... subnetIds)
A list of new subnet IDs for the VPC connection you are importing.
|
AssetBundleImportJobVPCConnectionOverrideParameters |
withVPCConnectionId(String vPCConnectionId)
The ID of the VPC Connection to apply overrides to.
|
public AssetBundleImportJobVPCConnectionOverrideParameters()
public void setVPCConnectionId(String vPCConnectionId)
The ID of the VPC Connection to apply overrides to.
vPCConnectionId
- The ID of the VPC Connection to apply overrides to.public String getVPCConnectionId()
The ID of the VPC Connection to apply overrides to.
public AssetBundleImportJobVPCConnectionOverrideParameters withVPCConnectionId(String vPCConnectionId)
The ID of the VPC Connection to apply overrides to.
vPCConnectionId
- The ID of the VPC Connection to apply overrides to.public void setName(String name)
A new name for the VPC connection.
name
- A new name for the VPC connection.public String getName()
A new name for the VPC connection.
public AssetBundleImportJobVPCConnectionOverrideParameters withName(String name)
A new name for the VPC connection.
name
- A new name for the VPC connection.public List<String> getSubnetIds()
A list of new subnet IDs for the VPC connection you are importing. This field is required if you are importing the VPC connection from another Amazon Web Services account or Region.
public void setSubnetIds(Collection<String> subnetIds)
A list of new subnet IDs for the VPC connection you are importing. This field is required if you are importing the VPC connection from another Amazon Web Services account or Region.
subnetIds
- A list of new subnet IDs for the VPC connection you are importing. This field is required if you are
importing the VPC connection from another Amazon Web Services account or Region.public AssetBundleImportJobVPCConnectionOverrideParameters withSubnetIds(String... subnetIds)
A list of new subnet IDs for the VPC connection you are importing. This field is required if you are importing the VPC connection from another Amazon Web Services account or Region.
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
- A list of new subnet IDs for the VPC connection you are importing. This field is required if you are
importing the VPC connection from another Amazon Web Services account or Region.public AssetBundleImportJobVPCConnectionOverrideParameters withSubnetIds(Collection<String> subnetIds)
A list of new subnet IDs for the VPC connection you are importing. This field is required if you are importing the VPC connection from another Amazon Web Services account or Region.
subnetIds
- A list of new subnet IDs for the VPC connection you are importing. This field is required if you are
importing the VPC connection from another Amazon Web Services account or Region.public List<String> getSecurityGroupIds()
A new security group ID for the VPC connection you are importing. This field is required if you are importing the VPC connection from another Amazon Web Services account or Region.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
A new security group ID for the VPC connection you are importing. This field is required if you are importing the VPC connection from another Amazon Web Services account or Region.
securityGroupIds
- A new security group ID for the VPC connection you are importing. This field is required if you are
importing the VPC connection from another Amazon Web Services account or Region.public AssetBundleImportJobVPCConnectionOverrideParameters withSecurityGroupIds(String... securityGroupIds)
A new security group ID for the VPC connection you are importing. This field is required if you are importing the VPC connection from another Amazon Web Services account or Region.
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
- A new security group ID for the VPC connection you are importing. This field is required if you are
importing the VPC connection from another Amazon Web Services account or Region.public AssetBundleImportJobVPCConnectionOverrideParameters withSecurityGroupIds(Collection<String> securityGroupIds)
A new security group ID for the VPC connection you are importing. This field is required if you are importing the VPC connection from another Amazon Web Services account or Region.
securityGroupIds
- A new security group ID for the VPC connection you are importing. This field is required if you are
importing the VPC connection from another Amazon Web Services account or Region.public List<String> getDnsResolvers()
An optional override of DNS resolvers to be used by the VPC connection.
public void setDnsResolvers(Collection<String> dnsResolvers)
An optional override of DNS resolvers to be used by the VPC connection.
dnsResolvers
- An optional override of DNS resolvers to be used by the VPC connection.public AssetBundleImportJobVPCConnectionOverrideParameters withDnsResolvers(String... dnsResolvers)
An optional override of DNS resolvers to be used by the VPC connection.
NOTE: This method appends the values to the existing list (if any). Use
setDnsResolvers(java.util.Collection)
or withDnsResolvers(java.util.Collection)
if you want to
override the existing values.
dnsResolvers
- An optional override of DNS resolvers to be used by the VPC connection.public AssetBundleImportJobVPCConnectionOverrideParameters withDnsResolvers(Collection<String> dnsResolvers)
An optional override of DNS resolvers to be used by the VPC connection.
dnsResolvers
- An optional override of DNS resolvers to be used by the VPC connection.public void setRoleArn(String roleArn)
An optional override of the role ARN to be used by the VPC connection.
roleArn
- An optional override of the role ARN to be used by the VPC connection.public String getRoleArn()
An optional override of the role ARN to be used by the VPC connection.
public AssetBundleImportJobVPCConnectionOverrideParameters withRoleArn(String roleArn)
An optional override of the role ARN to be used by the VPC connection.
roleArn
- An optional override of the role ARN to be used by the VPC connection.public String toString()
toString
in class Object
Object.toString()
public AssetBundleImportJobVPCConnectionOverrideParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.