@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() |
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 accepter VPC.
|
String |
getPeerRegion()
The region code for the accepter VPC, if the accepter VPC is located in a region other than the region in which
you make the request.
|
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 accepter VPC.
|
void |
setPeerRegion(String peerRegion)
The region code for the accepter VPC, if the accepter VPC is located in a region other than the region in which
you make the request.
|
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 accepter VPC.
|
CreateVpcPeeringConnectionRequest |
withPeerRegion(String peerRegion)
The region code for the accepter VPC, if the accepter VPC is located in a region other than the region in which
you make the request.
|
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, copyBaseTo, 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 accepter VPC.
Default: Your AWS account ID
peerOwnerId
- The AWS account ID of the owner of the accepter VPC.
Default: Your AWS account ID
public String getPeerOwnerId()
The AWS account ID of the owner of the accepter 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 accepter VPC.
Default: Your AWS account ID
peerOwnerId
- The AWS account ID of the owner of the accepter 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. You must specify this parameter in the request.
peerVpcId
- The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter
in the request.public String getPeerVpcId()
The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.
public CreateVpcPeeringConnectionRequest withPeerVpcId(String peerVpcId)
The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.
peerVpcId
- The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter
in the request.public void setVpcId(String vpcId)
The ID of the requester VPC. You must specify this parameter in the request.
vpcId
- The ID of the requester VPC. You must specify this parameter in the request.public String getVpcId()
The ID of the requester VPC. You must specify this parameter in the request.
public CreateVpcPeeringConnectionRequest withVpcId(String vpcId)
The ID of the requester VPC. You must specify this parameter in the request.
vpcId
- The ID of the requester VPC. You must specify this parameter in the request.public void setPeerRegion(String peerRegion)
The region code for the accepter VPC, if the accepter VPC is located in a region other than the region in which you make the request.
Default: The region in which you make the request.
peerRegion
- The region code for the accepter VPC, if the accepter VPC is located in a region other than the region in
which you make the request.
Default: The region in which you make the request.
public String getPeerRegion()
The region code for the accepter VPC, if the accepter VPC is located in a region other than the region in which you make the request.
Default: The region in which you make the request.
Default: The region in which you make the request.
public CreateVpcPeeringConnectionRequest withPeerRegion(String peerRegion)
The region code for the accepter VPC, if the accepter VPC is located in a region other than the region in which you make the request.
Default: The region in which you make the request.
peerRegion
- The region code for the accepter VPC, if the accepter VPC is located in a region other than the region in
which you make the request.
Default: The region in which you make the request.
public Request<CreateVpcPeeringConnectionRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateVpcPeeringConnectionRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateVpcPeeringConnectionRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2018. All rights reserved.