@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVPCAssociationAuthorizationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A complex type that contains information about the request to authorize associating a VPC with your private hosted zone. Authorization is only required when a private hosted zone and a VPC were created by using different accounts.
NOOP
Constructor and Description |
---|
CreateVPCAssociationAuthorizationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateVPCAssociationAuthorizationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getHostedZoneId()
The ID of the private hosted zone that you want to authorize associating a VPC with.
|
VPC |
getVPC()
A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your
hosted zone.
|
int |
hashCode() |
void |
setHostedZoneId(String hostedZoneId)
The ID of the private hosted zone that you want to authorize associating a VPC with.
|
void |
setVPC(VPC vPC)
A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your
hosted zone.
|
String |
toString()
Returns a string representation of this object.
|
CreateVPCAssociationAuthorizationRequest |
withHostedZoneId(String hostedZoneId)
The ID of the private hosted zone that you want to authorize associating a VPC with.
|
CreateVPCAssociationAuthorizationRequest |
withVPC(VPC vPC)
A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your
hosted zone.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CreateVPCAssociationAuthorizationRequest()
public void setHostedZoneId(String hostedZoneId)
The ID of the private hosted zone that you want to authorize associating a VPC with.
hostedZoneId
- The ID of the private hosted zone that you want to authorize associating a VPC with.public String getHostedZoneId()
The ID of the private hosted zone that you want to authorize associating a VPC with.
public CreateVPCAssociationAuthorizationRequest withHostedZoneId(String hostedZoneId)
The ID of the private hosted zone that you want to authorize associating a VPC with.
hostedZoneId
- The ID of the private hosted zone that you want to authorize associating a VPC with.public void setVPC(VPC vPC)
A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your hosted zone.
vPC
- A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with
your hosted zone.public VPC getVPC()
A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your hosted zone.
public CreateVPCAssociationAuthorizationRequest withVPC(VPC vPC)
A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your hosted zone.
vPC
- A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with
your hosted zone.public String toString()
toString
in class Object
Object.toString()
public CreateVPCAssociationAuthorizationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()