Class DisassociateVPCFromHostedZoneRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.route53.model.DisassociateVPCFromHostedZoneRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DisassociateVPCFromHostedZoneRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A complex type that contains information about the request to disassociate a VPC from an hosted zone.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DisassociateVPCFromHostedZoneRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DisassociateVPCFromHostedZoneRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getComment()
Optional: Any comments you want to include about aDisassociateVPCFromHostedZoneRequest
.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 aDisassociateVPCFromHostedZoneRequest
.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 aDisassociateVPCFromHostedZoneRequest
.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.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setHostedZoneId
public void setHostedZoneId(String 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.
- Parameters:
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.
-
getHostedZoneId
public String getHostedZoneId()
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.
- Returns:
- 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.
-
withHostedZoneId
public DisassociateVPCFromHostedZoneRequest withHostedZoneId(String 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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVPC
public void setVPC(VPC vPC)
The VPC that you want your hosted zone to be disassociated from.
- Parameters:
vPC
- The VPC that you want your hosted zone to be disassociated from.
-
getVPC
public VPC getVPC()
The VPC that you want your hosted zone to be disassociated from.
- Returns:
- The VPC that you want your hosted zone to be disassociated from.
-
withVPC
public DisassociateVPCFromHostedZoneRequest withVPC(VPC vPC)
The VPC that you want your hosted zone to be disassociated from.
- Parameters:
vPC
- The VPC that you want your hosted zone to be disassociated from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComment
public void setComment(String comment)
Optional: Any comments you want to include about a
DisassociateVPCFromHostedZoneRequest
.- Parameters:
comment
- Optional: Any comments you want to include about aDisassociateVPCFromHostedZoneRequest
-
getComment
public String getComment()
Optional: Any comments you want to include about a
DisassociateVPCFromHostedZoneRequest
.- Returns:
- Optional: Any comments you want to include about a
DisassociateVPCFromHostedZoneRequest
-
withComment
public DisassociateVPCFromHostedZoneRequest withComment(String comment)
Optional: Any comments you want to include about a
DisassociateVPCFromHostedZoneRequest
.- Parameters:
comment
- Optional: Any comments you want to include about aDisassociateVPCFromHostedZoneRequest
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DisassociateVPCFromHostedZoneRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-