public class AssociateVPCWithHostedZoneRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
A complex type that contains information about the request to associate a VPC with an hosted zone.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
comment
Optional: Any comments you want to include about a
AssociateVPCWithHostedZoneRequest . |
private java.lang.String |
hostedZoneId
The ID of the hosted zone you want to associate your VPC with.
|
private VPC |
vPC
The VPC that you want your hosted zone to be associated with.
|
NOOP
Constructor and Description |
---|
AssociateVPCWithHostedZoneRequest() |
Modifier and Type | Method and Description |
---|---|
AssociateVPCWithHostedZoneRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getComment()
Optional: Any comments you want to include about a
AssociateVPCWithHostedZoneRequest . |
java.lang.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(java.lang.String comment)
Optional: Any comments you want to include about a
AssociateVPCWithHostedZoneRequest . |
void |
setHostedZoneId(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssociateVPCWithHostedZoneRequest |
withComment(java.lang.String comment)
Optional: Any comments you want to include about a
AssociateVPCWithHostedZoneRequest . |
AssociateVPCWithHostedZoneRequest |
withHostedZoneId(java.lang.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.
|
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
private java.lang.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.
private VPC vPC
The VPC that you want your hosted zone to be associated with.
private java.lang.String comment
Optional: Any comments you want to include about a
AssociateVPCWithHostedZoneRequest
.
public void setHostedZoneId(java.lang.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.
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.
public java.lang.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.
Note that you cannot associate a VPC with a hosted zone that doesn't have an existing VPC association.
public AssociateVPCWithHostedZoneRequest withHostedZoneId(java.lang.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.
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.
public void setVPC(VPC vPC)
The VPC that you want your hosted zone to be associated with.
vPC
- The VPC that you want your hosted zone to be associated with.public VPC getVPC()
The VPC that you want your hosted zone to be associated with.
public AssociateVPCWithHostedZoneRequest withVPC(VPC vPC)
The VPC that you want your hosted zone to be associated with.
vPC
- The VPC that you want your hosted zone to be associated with.public void setComment(java.lang.String comment)
Optional: Any comments you want to include about a
AssociateVPCWithHostedZoneRequest
.
comment
- Optional: Any comments you want to include about a
AssociateVPCWithHostedZoneRequest
public java.lang.String getComment()
Optional: Any comments you want to include about a
AssociateVPCWithHostedZoneRequest
.
AssociateVPCWithHostedZoneRequest
public AssociateVPCWithHostedZoneRequest withComment(java.lang.String comment)
Optional: Any comments you want to include about a
AssociateVPCWithHostedZoneRequest
.
comment
- Optional: Any comments you want to include about a
AssociateVPCWithHostedZoneRequest
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AssociateVPCWithHostedZoneRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()