public class DisassociateVPCFromHostedZoneRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DisassociateVPCFromHostedZone operation.
This action disassociates a VPC from an hosted zone.
To disassociate a VPC to a hosted zone, send a POST
request to the 2013-04-01/hostedzone/hosted zone
ID/disassociatevpc resource. The request body must include an
XML document with a DisassociateVPCFromHostedZoneRequest
element. The response returns the
DisassociateVPCFromHostedZoneResponse element that
contains ChangeInfo for you to track the progress of the
DisassociateVPCFromHostedZoneRequest you made. See
GetChange operation for how to track the progress of your
change.
NOOP| Constructor and Description |
|---|
DisassociateVPCFromHostedZoneRequest() |
| Modifier and Type | Method and Description |
|---|---|
DisassociateVPCFromHostedZoneRequest |
clone() |
boolean |
equals(Object obj) |
String |
getComment()
Optional: Any comments you want to include about a
DisassociateVPCFromHostedZoneRequest. |
String |
getHostedZoneId()
The ID of the hosted zone you want to disassociate your VPC from.
|
VPC |
getVPC()
The VPC that you want your hosted zone to be disassociated from.
|
int |
hashCode() |
void |
setComment(String comment)
Optional: Any comments you want to include about a
DisassociateVPCFromHostedZoneRequest. |
void |
setHostedZoneId(String hostedZoneId)
The ID of the hosted zone you want to disassociate your VPC from.
|
void |
setVPC(VPC vPC)
The VPC that you want your hosted zone to be disassociated from.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DisassociateVPCFromHostedZoneRequest |
withComment(String comment)
Optional: Any comments you want to include about a
DisassociateVPCFromHostedZoneRequest. |
DisassociateVPCFromHostedZoneRequest |
withHostedZoneId(String hostedZoneId)
The ID of the hosted zone you want to disassociate your VPC from.
|
DisassociateVPCFromHostedZoneRequest |
withVPC(VPC vPC)
The VPC that you want your hosted zone to be disassociated from.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic DisassociateVPCFromHostedZoneRequest()
public String getHostedZoneId()
Note that you cannot disassociate the last VPC from a hosted zone.
Constraints:
Length: 0 - 32
Note that you cannot disassociate the last VPC from a hosted zone.
public void setHostedZoneId(String hostedZoneId)
Note that you cannot disassociate the last VPC from a hosted zone.
Constraints:
Length: 0 - 32
hostedZoneId - The ID of the hosted zone you want to disassociate your VPC from.
Note that you cannot disassociate the last VPC from a hosted zone.
public DisassociateVPCFromHostedZoneRequest withHostedZoneId(String hostedZoneId)
Note that you cannot disassociate the last VPC from a hosted zone.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32
hostedZoneId - The ID of the hosted zone you want to disassociate your VPC from.
Note that you cannot disassociate the last VPC from a hosted zone.
public VPC getVPC()
public void setVPC(VPC vPC)
vPC - The VPC that you want your hosted zone to be disassociated from.public DisassociateVPCFromHostedZoneRequest withVPC(VPC vPC)
Returns a reference to this object so that method calls can be chained together.
vPC - The VPC that you want your hosted zone to be disassociated from.public String getComment()
DisassociateVPCFromHostedZoneRequest.DisassociateVPCFromHostedZoneRequest.public void setComment(String comment)
DisassociateVPCFromHostedZoneRequest.comment - Optional: Any comments you want to include about a
DisassociateVPCFromHostedZoneRequest.public DisassociateVPCFromHostedZoneRequest withComment(String comment)
DisassociateVPCFromHostedZoneRequest.
Returns a reference to this object so that method calls can be chained together.
comment - Optional: Any comments you want to include about a
DisassociateVPCFromHostedZoneRequest.public String toString()
toString in class ObjectObject.toString()public DisassociateVPCFromHostedZoneRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.