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() |
String |
getSubnetId()
The ID of the subnet.
|
int |
hashCode() |
Boolean |
isMapPublicIpOnLaunch() |
void |
setMapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch) |
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)
Returns a reference to this object so that method calls can be chained together.
|
ModifySubnetAttributeRequest |
withSubnetId(String subnetId)
The ID of the subnet.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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
- public ModifySubnetAttributeRequest withMapPublicIpOnLaunch(Boolean mapPublicIpOnLaunch)
Returns a reference to this object so that method calls can be chained together.
mapPublicIpOnLaunch
- public Boolean getMapPublicIpOnLaunch()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.