public class ModifySubnetAttributeRequest extends AmazonWebServiceRequest implements java.io.Serializable
ModifySubnetAttribute operation
.
Modifies a subnet attribute.
Constructor and Description |
---|
ModifySubnetAttributeRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
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.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getSubnetId()
public void setSubnetId(java.lang.String subnetId)
subnetId
- The ID of the subnet.public ModifySubnetAttributeRequest withSubnetId(java.lang.String subnetId)
Returns a reference to this object so that method calls can be chained together.
subnetId
- The ID of the subnet.public java.lang.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(java.lang.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(java.lang.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 java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.