public class ModifySubnetAttributeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifySubnetAttributeRequest>
Contains the parameters for ModifySubnetAttribute.
NOOP
Constructor and Description |
---|
ModifySubnetAttributeRequest() |
Modifier and Type | Method and Description |
---|---|
ModifySubnetAttributeRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Request<ModifySubnetAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public String getSubnetId()
The ID of the subnet.
public ModifySubnetAttributeRequest withSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public void setMapPublicIpOnLaunch(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 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(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 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 String toString()
toString
in class Object
Object.toString()
public ModifySubnetAttributeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.