public class ModifySubnetAttributeRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<ModifySubnetAttributeRequest>
Contains the parameters for ModifySubnetAttribute.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
mapPublicIpOnLaunch
Specify
true to indicate that instances launched into the
specified subnet should be assigned public IP address. |
private java.lang.String |
subnetId
The ID of the subnet.
|
NOOP
Constructor and Description |
---|
ModifySubnetAttributeRequest() |
Modifier and Type | Method and Description |
---|---|
ModifySubnetAttributeRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
Request<ModifySubnetAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.Boolean |
getMapPublicIpOnLaunch()
Specify
true to indicate that instances launched into the
specified subnet should be assigned public IP address. |
java.lang.String |
getSubnetId()
The ID of the subnet.
|
int |
hashCode() |
java.lang.Boolean |
isMapPublicIpOnLaunch()
Specify
true to indicate that instances launched into the
specified subnet should be assigned public IP address. |
void |
setMapPublicIpOnLaunch(java.lang.Boolean mapPublicIpOnLaunch)
Specify
true to indicate that instances launched into the
specified subnet should be assigned public IP address. |
void |
setSubnetId(java.lang.String subnetId)
The ID of the subnet.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ModifySubnetAttributeRequest |
withMapPublicIpOnLaunch(java.lang.Boolean mapPublicIpOnLaunch)
Specify
true to indicate that instances launched into the
specified subnet should be assigned public IP address. |
ModifySubnetAttributeRequest |
withSubnetId(java.lang.String subnetId)
The ID of the subnet.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String subnetId
The ID of the subnet.
private java.lang.Boolean mapPublicIpOnLaunch
Specify true
to indicate that instances launched into the
specified subnet should be assigned public IP address.
public void setSubnetId(java.lang.String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public java.lang.String getSubnetId()
The ID of the subnet.
public ModifySubnetAttributeRequest withSubnetId(java.lang.String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public void setMapPublicIpOnLaunch(java.lang.Boolean mapPublicIpOnLaunch)
Specify true
to indicate that instances launched into the
specified subnet should be assigned public IP address.
mapPublicIpOnLaunch
- Specify true
to indicate that instances launched into
the specified subnet should be assigned public IP address.public java.lang.Boolean getMapPublicIpOnLaunch()
Specify true
to indicate that instances launched into the
specified subnet should be assigned public IP address.
true
to indicate that instances launched
into the specified subnet should be assigned public IP address.public ModifySubnetAttributeRequest withMapPublicIpOnLaunch(java.lang.Boolean mapPublicIpOnLaunch)
Specify true
to indicate that instances launched into the
specified subnet should be assigned public IP address.
mapPublicIpOnLaunch
- Specify true
to indicate that instances launched into
the specified subnet should be assigned public IP address.public java.lang.Boolean isMapPublicIpOnLaunch()
Specify true
to indicate that instances launched into the
specified subnet should be assigned public IP address.
true
to indicate that instances launched
into the specified subnet should be assigned public IP address.public Request<ModifySubnetAttributeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifySubnetAttributeRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ModifySubnetAttributeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()