public class ModifySubnetAttributeRequest extends AmazonWebServiceRequest implements Serializable
ModifySubnetAttribute operation.
Modifies a subnet attribute.
| Constructor and Description |
|---|
ModifySubnetAttributeRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getMapPublicIpOnLaunch()
Specify
true to indicate that instances launched into the
specified subnet should be assigned public IP address. |
String |
getSubnetId()
The ID of the subnet.
|
int |
hashCode() |
Boolean |
isMapPublicIpOnLaunch()
Specify
true to indicate that instances launched into the
specified subnet should be assigned public IP address. |
void |
setMapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch)
Specify
true to indicate that instances launched into the
specified subnet should be assigned public IP address. |
void |
setSubnetId(String subnetId)
The ID of the subnet.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ModifySubnetAttributeRequest |
withMapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch)
Specify
true to indicate that instances launched into the
specified subnet should be assigned public IP address. |
ModifySubnetAttributeRequest |
withSubnetId(String subnetId)
The ID of the subnet.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getSubnetId()
public void setSubnetId(String subnetId)
subnetId - The ID of the subnet.public ModifySubnetAttributeRequest withSubnetId(String subnetId)
Returns a reference to this object so that method calls can be chained together.
subnetId - The ID of the subnet.public Boolean isMapPublicIpOnLaunch()
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 void setMapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch)
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 ModifySubnetAttributeRequest withMapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch)
true to indicate that instances launched into the
specified subnet should be assigned public IP address.
Returns a reference to this object so that method calls can be chained together.
mapPublicIpOnLaunch - Specify true to indicate that instances launched into the
specified subnet should be assigned public IP address.public Boolean getMapPublicIpOnLaunch()
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 String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.