public class ModifySubnetAttributeRequest extends AmazonWebServiceRequest implements Serializable
ModifySubnetAttribute operation.
Modifies a subnet attribute.
NOOP| Constructor and Description |
|---|
ModifySubnetAttributeRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getMapPublicIpOnLaunch()
The value to use when a resource attribute accepts a Boolean value.
|
String |
getSubnetId()
The ID of the subnet.
|
int |
hashCode() |
Boolean |
isMapPublicIpOnLaunch()
The value to use when a resource attribute accepts a Boolean value.
|
void |
setMapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch)
The value to use when a resource attribute accepts a Boolean value.
|
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)
The value to use when a resource attribute accepts a Boolean value.
|
ModifySubnetAttributeRequest |
withSubnetId(String subnetId)
The ID of the subnet.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, 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()
public void setMapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch)
mapPublicIpOnLaunch - The value to use when a resource attribute accepts a Boolean value.public ModifySubnetAttributeRequest withMapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch)
Returns a reference to this object so that method calls can be chained together.
mapPublicIpOnLaunch - The value to use when a resource attribute accepts a Boolean value.public Boolean getMapPublicIpOnLaunch()
public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.