@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVpcPeeringConnectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateVpcPeeringConnectionRequest>
Contains the parameters for CreateVpcPeeringConnection.
NOOP
Constructor and Description |
---|
CreateVpcPeeringConnectionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateVpcPeeringConnectionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<CreateVpcPeeringConnectionRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getPeerOwnerId()
The AWS account ID of the owner of the peer VPC.
|
String |
getPeerVpcId()
The ID of the VPC with which you are creating the VPC peering connection.
|
String |
getVpcId()
The ID of the requester VPC.
|
int |
hashCode() |
void |
setPeerOwnerId(String peerOwnerId)
The AWS account ID of the owner of the peer VPC.
|
void |
setPeerVpcId(String peerVpcId)
The ID of the VPC with which you are creating the VPC peering connection.
|
void |
setVpcId(String vpcId)
The ID of the requester VPC.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateVpcPeeringConnectionRequest |
withPeerOwnerId(String peerOwnerId)
The AWS account ID of the owner of the peer VPC.
|
CreateVpcPeeringConnectionRequest |
withPeerVpcId(String peerVpcId)
The ID of the VPC with which you are creating the VPC peering connection.
|
CreateVpcPeeringConnectionRequest |
withVpcId(String vpcId)
The ID of the requester VPC.
|
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 void setPeerOwnerId(String peerOwnerId)
The AWS account ID of the owner of the peer VPC.
Default: Your AWS account ID
peerOwnerId
- The AWS account ID of the owner of the peer VPC.
Default: Your AWS account ID
public String getPeerOwnerId()
The AWS account ID of the owner of the peer VPC.
Default: Your AWS account ID
Default: Your AWS account ID
public CreateVpcPeeringConnectionRequest withPeerOwnerId(String peerOwnerId)
The AWS account ID of the owner of the peer VPC.
Default: Your AWS account ID
peerOwnerId
- The AWS account ID of the owner of the peer VPC.
Default: Your AWS account ID
public void setPeerVpcId(String peerVpcId)
The ID of the VPC with which you are creating the VPC peering connection.
peerVpcId
- The ID of the VPC with which you are creating the VPC peering connection.public String getPeerVpcId()
The ID of the VPC with which you are creating the VPC peering connection.
public CreateVpcPeeringConnectionRequest withPeerVpcId(String peerVpcId)
The ID of the VPC with which you are creating the VPC peering connection.
peerVpcId
- The ID of the VPC with which you are creating the VPC peering connection.public void setVpcId(String vpcId)
The ID of the requester VPC.
vpcId
- The ID of the requester VPC.public String getVpcId()
The ID of the requester VPC.
public CreateVpcPeeringConnectionRequest withVpcId(String vpcId)
The ID of the requester VPC.
vpcId
- The ID of the requester VPC.public Request<CreateVpcPeeringConnectionRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateVpcPeeringConnectionRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateVpcPeeringConnectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.