Class AssociateVPCWithHostedZoneRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.route53.model.AssociateVPCWithHostedZoneRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class AssociateVPCWithHostedZoneRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A complex type that contains information about the request to associate a VPC with an hosted zone.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description AssociateVPCWithHostedZoneRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociateVPCWithHostedZoneRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getComment()
Optional: Any comments you want to include about aAssociateVPCWithHostedZoneRequest
.String
getHostedZoneId()
The ID of the hosted zone you want to associate your VPC with.VPC
getVPC()
The VPC that you want your hosted zone to be associated with.int
hashCode()
void
setComment(String comment)
Optional: Any comments you want to include about aAssociateVPCWithHostedZoneRequest
.void
setHostedZoneId(String hostedZoneId)
The ID of the hosted zone you want to associate your VPC with.void
setVPC(VPC vPC)
The VPC that you want your hosted zone to be associated with.String
toString()
Returns a string representation of this object; useful for testing and debugging.AssociateVPCWithHostedZoneRequest
withComment(String comment)
Optional: Any comments you want to include about aAssociateVPCWithHostedZoneRequest
.AssociateVPCWithHostedZoneRequest
withHostedZoneId(String hostedZoneId)
The ID of the hosted zone you want to associate your VPC with.AssociateVPCWithHostedZoneRequest
withVPC(VPC vPC)
The VPC that you want your hosted zone to be associated with.-
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 associate your VPC with.
Note that you cannot associate a VPC with a hosted zone that doesn't have an existing VPC association.
- Parameters:
hostedZoneId
- The ID of the hosted zone you want to associate your VPC with.Note that you cannot associate a VPC with a hosted zone that doesn't have an existing VPC association.
-
getHostedZoneId
public String getHostedZoneId()
The ID of the hosted zone you want to associate your VPC with.
Note that you cannot associate a VPC with a hosted zone that doesn't have an existing VPC association.
- Returns:
- The ID of the hosted zone you want to associate your VPC
with.
Note that you cannot associate a VPC with a hosted zone that doesn't have an existing VPC association.
-
withHostedZoneId
public AssociateVPCWithHostedZoneRequest withHostedZoneId(String hostedZoneId)
The ID of the hosted zone you want to associate your VPC with.
Note that you cannot associate a VPC with a hosted zone that doesn't have an existing VPC association.
- Parameters:
hostedZoneId
- The ID of the hosted zone you want to associate your VPC with.Note that you cannot associate a VPC with a hosted zone that doesn't have an existing VPC association.
- 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 associated with.
- Parameters:
vPC
- The VPC that you want your hosted zone to be associated with.
-
getVPC
public VPC getVPC()
The VPC that you want your hosted zone to be associated with.
- Returns:
- The VPC that you want your hosted zone to be associated with.
-
withVPC
public AssociateVPCWithHostedZoneRequest withVPC(VPC vPC)
The VPC that you want your hosted zone to be associated with.
- Parameters:
vPC
- The VPC that you want your hosted zone to be associated with.- 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
AssociateVPCWithHostedZoneRequest
.- Parameters:
comment
- Optional: Any comments you want to include about aAssociateVPCWithHostedZoneRequest
-
getComment
public String getComment()
Optional: Any comments you want to include about a
AssociateVPCWithHostedZoneRequest
.- Returns:
- Optional: Any comments you want to include about a
AssociateVPCWithHostedZoneRequest
-
withComment
public AssociateVPCWithHostedZoneRequest withComment(String comment)
Optional: Any comments you want to include about a
AssociateVPCWithHostedZoneRequest
.- Parameters:
comment
- Optional: Any comments you want to include about aAssociateVPCWithHostedZoneRequest
- 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 AssociateVPCWithHostedZoneRequest 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()
-
-