Class AssociateVPCWithHostedZoneRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
A complex type that contains information about the request to associate a VPC with an hosted zone.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Optional: Any comments you want to include about aAssociateVPCWithHostedZoneRequest
.The ID of the hosted zone you want to associate your VPC with.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
The VPC that you want your hosted zone to be associated with.toString()
Returns a string representation of this object; useful for testing and debugging.withComment
(String comment) Optional: Any comments you want to include about aAssociateVPCWithHostedZoneRequest
.withHostedZoneId
(String hostedZoneId) The ID of the hosted zone you want to associate your VPC with.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
-
Constructor Details
-
AssociateVPCWithHostedZoneRequest
public AssociateVPCWithHostedZoneRequest()
-
-
Method Details
-
setHostedZoneId
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
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
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
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
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
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
Optional: Any comments you want to include about a
AssociateVPCWithHostedZoneRequest
.- Parameters:
comment
- Optional: Any comments you want to include about aAssociateVPCWithHostedZoneRequest
-
getComment
Optional: Any comments you want to include about a
AssociateVPCWithHostedZoneRequest
.- Returns:
- Optional: Any comments you want to include about a
AssociateVPCWithHostedZoneRequest
-
withComment
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-