@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifySubnetAttributeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifySubnetAttributeRequest>
NOOP
Constructor and Description |
---|
ModifySubnetAttributeRequest() |
Modifier and Type | Method and Description |
---|---|
ModifySubnetAttributeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getAssignIpv6AddressOnCreation()
Specify
true to indicate that network interfaces created in the specified subnet should be assigned
an IPv6 address. |
String |
getCustomerOwnedIpv4Pool()
The customer-owned IPv4 address pool associated with the subnet.
|
Request<ModifySubnetAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
Boolean |
getMapCustomerOwnedIpOnLaunch()
Specify
true to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a customer-owned IPv4 address. |
Boolean |
getMapPublicIpOnLaunch()
Specify
true to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a public IPv4 address. |
String |
getSubnetId()
The ID of the subnet.
|
int |
hashCode() |
Boolean |
isAssignIpv6AddressOnCreation()
Specify
true to indicate that network interfaces created in the specified subnet should be assigned
an IPv6 address. |
Boolean |
isMapCustomerOwnedIpOnLaunch()
Specify
true to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a customer-owned IPv4 address. |
Boolean |
isMapPublicIpOnLaunch()
Specify
true to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a public IPv4 address. |
void |
setAssignIpv6AddressOnCreation(Boolean assignIpv6AddressOnCreation)
Specify
true to indicate that network interfaces created in the specified subnet should be assigned
an IPv6 address. |
void |
setCustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The customer-owned IPv4 address pool associated with the subnet.
|
void |
setMapCustomerOwnedIpOnLaunch(Boolean mapCustomerOwnedIpOnLaunch)
Specify
true to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a customer-owned IPv4 address. |
void |
setMapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch)
Specify
true to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a public IPv4 address. |
void |
setSubnetId(String subnetId)
The ID of the subnet.
|
String |
toString()
Returns a string representation of this object.
|
ModifySubnetAttributeRequest |
withAssignIpv6AddressOnCreation(Boolean assignIpv6AddressOnCreation)
Specify
true to indicate that network interfaces created in the specified subnet should be assigned
an IPv6 address. |
ModifySubnetAttributeRequest |
withCustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The customer-owned IPv4 address pool associated with the subnet.
|
ModifySubnetAttributeRequest |
withMapCustomerOwnedIpOnLaunch(Boolean mapCustomerOwnedIpOnLaunch)
Specify
true to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a customer-owned IPv4 address. |
ModifySubnetAttributeRequest |
withMapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch)
Specify
true to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a public IPv4 address. |
ModifySubnetAttributeRequest |
withSubnetId(String subnetId)
The ID of the subnet.
|
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 setAssignIpv6AddressOnCreation(Boolean assignIpv6AddressOnCreation)
Specify true
to indicate that network interfaces created in the specified subnet should be assigned
an IPv6 address. This includes a network interface that's created when launching an instance into the subnet (the
instance therefore receives an IPv6 address).
If you enable the IPv6 addressing feature for your subnet, your network interface or instance only receives an
IPv6 address if it's created using version 2016-11-15
or later of the Amazon EC2 API.
assignIpv6AddressOnCreation
- Specify true
to indicate that network interfaces created in the specified subnet should be
assigned an IPv6 address. This includes a network interface that's created when launching an instance into
the subnet (the instance therefore receives an IPv6 address).
If you enable the IPv6 addressing feature for your subnet, your network interface or instance only
receives an IPv6 address if it's created using version 2016-11-15
or later of the Amazon EC2
API.
public Boolean getAssignIpv6AddressOnCreation()
Specify true
to indicate that network interfaces created in the specified subnet should be assigned
an IPv6 address. This includes a network interface that's created when launching an instance into the subnet (the
instance therefore receives an IPv6 address).
If you enable the IPv6 addressing feature for your subnet, your network interface or instance only receives an
IPv6 address if it's created using version 2016-11-15
or later of the Amazon EC2 API.
true
to indicate that network interfaces created in the specified subnet should be
assigned an IPv6 address. This includes a network interface that's created when launching an instance
into the subnet (the instance therefore receives an IPv6 address).
If you enable the IPv6 addressing feature for your subnet, your network interface or instance only
receives an IPv6 address if it's created using version 2016-11-15
or later of the Amazon EC2
API.
public ModifySubnetAttributeRequest withAssignIpv6AddressOnCreation(Boolean assignIpv6AddressOnCreation)
Specify true
to indicate that network interfaces created in the specified subnet should be assigned
an IPv6 address. This includes a network interface that's created when launching an instance into the subnet (the
instance therefore receives an IPv6 address).
If you enable the IPv6 addressing feature for your subnet, your network interface or instance only receives an
IPv6 address if it's created using version 2016-11-15
or later of the Amazon EC2 API.
assignIpv6AddressOnCreation
- Specify true
to indicate that network interfaces created in the specified subnet should be
assigned an IPv6 address. This includes a network interface that's created when launching an instance into
the subnet (the instance therefore receives an IPv6 address).
If you enable the IPv6 addressing feature for your subnet, your network interface or instance only
receives an IPv6 address if it's created using version 2016-11-15
or later of the Amazon EC2
API.
public Boolean isAssignIpv6AddressOnCreation()
Specify true
to indicate that network interfaces created in the specified subnet should be assigned
an IPv6 address. This includes a network interface that's created when launching an instance into the subnet (the
instance therefore receives an IPv6 address).
If you enable the IPv6 addressing feature for your subnet, your network interface or instance only receives an
IPv6 address if it's created using version 2016-11-15
or later of the Amazon EC2 API.
true
to indicate that network interfaces created in the specified subnet should be
assigned an IPv6 address. This includes a network interface that's created when launching an instance
into the subnet (the instance therefore receives an IPv6 address).
If you enable the IPv6 addressing feature for your subnet, your network interface or instance only
receives an IPv6 address if it's created using version 2016-11-15
or later of the Amazon EC2
API.
public void setMapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch)
Specify true
to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a public IPv4 address.
mapPublicIpOnLaunch
- Specify true
to indicate that network interfaces attached to instances created in the
specified subnet should be assigned a public IPv4 address.public Boolean getMapPublicIpOnLaunch()
Specify true
to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a public IPv4 address.
true
to indicate that network interfaces attached to instances created in the
specified subnet should be assigned a public IPv4 address.public ModifySubnetAttributeRequest withMapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch)
Specify true
to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a public IPv4 address.
mapPublicIpOnLaunch
- Specify true
to indicate that network interfaces attached to instances created in the
specified subnet should be assigned a public IPv4 address.public Boolean isMapPublicIpOnLaunch()
Specify true
to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a public IPv4 address.
true
to indicate that network interfaces attached to instances created in the
specified subnet should be assigned a public IPv4 address.public void setSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public String getSubnetId()
The ID of the subnet.
public ModifySubnetAttributeRequest withSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public void setMapCustomerOwnedIpOnLaunch(Boolean mapCustomerOwnedIpOnLaunch)
Specify true
to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a customer-owned IPv4 address.
When this value is true
, you must specify the customer-owned IP pool using
CustomerOwnedIpv4Pool
.
mapCustomerOwnedIpOnLaunch
- Specify true
to indicate that network interfaces attached to instances created in the
specified subnet should be assigned a customer-owned IPv4 address.
When this value is true
, you must specify the customer-owned IP pool using
CustomerOwnedIpv4Pool
.
public Boolean getMapCustomerOwnedIpOnLaunch()
Specify true
to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a customer-owned IPv4 address.
When this value is true
, you must specify the customer-owned IP pool using
CustomerOwnedIpv4Pool
.
true
to indicate that network interfaces attached to instances created in the
specified subnet should be assigned a customer-owned IPv4 address.
When this value is true
, you must specify the customer-owned IP pool using
CustomerOwnedIpv4Pool
.
public ModifySubnetAttributeRequest withMapCustomerOwnedIpOnLaunch(Boolean mapCustomerOwnedIpOnLaunch)
Specify true
to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a customer-owned IPv4 address.
When this value is true
, you must specify the customer-owned IP pool using
CustomerOwnedIpv4Pool
.
mapCustomerOwnedIpOnLaunch
- Specify true
to indicate that network interfaces attached to instances created in the
specified subnet should be assigned a customer-owned IPv4 address.
When this value is true
, you must specify the customer-owned IP pool using
CustomerOwnedIpv4Pool
.
public Boolean isMapCustomerOwnedIpOnLaunch()
Specify true
to indicate that network interfaces attached to instances created in the specified
subnet should be assigned a customer-owned IPv4 address.
When this value is true
, you must specify the customer-owned IP pool using
CustomerOwnedIpv4Pool
.
true
to indicate that network interfaces attached to instances created in the
specified subnet should be assigned a customer-owned IPv4 address.
When this value is true
, you must specify the customer-owned IP pool using
CustomerOwnedIpv4Pool
.
public void setCustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The customer-owned IPv4 address pool associated with the subnet.
You must set this value when you specify true
for MapCustomerOwnedIpOnLaunch
.
customerOwnedIpv4Pool
- The customer-owned IPv4 address pool associated with the subnet.
You must set this value when you specify true
for MapCustomerOwnedIpOnLaunch
.
public String getCustomerOwnedIpv4Pool()
The customer-owned IPv4 address pool associated with the subnet.
You must set this value when you specify true
for MapCustomerOwnedIpOnLaunch
.
You must set this value when you specify true
for MapCustomerOwnedIpOnLaunch
.
public ModifySubnetAttributeRequest withCustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The customer-owned IPv4 address pool associated with the subnet.
You must set this value when you specify true
for MapCustomerOwnedIpOnLaunch
.
customerOwnedIpv4Pool
- The customer-owned IPv4 address pool associated with the subnet.
You must set this value when you specify true
for MapCustomerOwnedIpOnLaunch
.
public Request<ModifySubnetAttributeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifySubnetAttributeRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifySubnetAttributeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.