Class CreateVpcPeeringConnectionRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.CreateVpcPeeringConnectionRequest
- All Implemented Interfaces:
ReadLimitInfo, DryRunSupportedRequest<CreateVpcPeeringConnectionRequest>, Serializable, Cloneable
public class CreateVpcPeeringConnectionRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable, DryRunSupportedRequest<CreateVpcPeeringConnectionRequest>
Contains the parameters for CreateVpcPeeringConnection.
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThis method is intended for internal use only.The AWS account ID of the owner of the peer VPC.The ID of the VPC with which you are creating the VPC peering connection.getVpcId()The ID of the requester VPC.inthashCode()voidsetPeerOwnerId(String peerOwnerId) The AWS account ID of the owner of the peer VPC.voidsetPeerVpcId(String peerVpcId) The ID of the VPC with which you are creating the VPC peering connection.voidThe ID of the requester VPC.toString()Returns a string representation of this object; useful for testing and debugging.withPeerOwnerId(String peerOwnerId) The AWS account ID of the owner of the peer VPC.withPeerVpcId(String peerVpcId) The ID of the VPC with which you are creating the VPC peering connection.The ID of the requester VPC.Methods inherited from class 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
-
CreateVpcPeeringConnectionRequest
public CreateVpcPeeringConnectionRequest()
-
-
Method Details
-
setVpcId
The ID of the requester VPC.
- Parameters:
vpcId- The ID of the requester VPC.
-
getVpcId
-
withVpcId
The ID of the requester VPC.
- Parameters:
vpcId- The ID of the requester VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPeerVpcId
The ID of the VPC with which you are creating the VPC peering connection.
- Parameters:
peerVpcId- The ID of the VPC with which you are creating the VPC peering connection.
-
getPeerVpcId
The ID of the VPC with which you are creating the VPC peering connection.
- Returns:
- The ID of the VPC with which you are creating the VPC peering connection.
-
withPeerVpcId
The ID of the VPC with which you are creating the VPC peering connection.
- Parameters:
peerVpcId- The ID of the VPC with which you are creating the VPC peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPeerOwnerId
The AWS account ID of the owner of the peer VPC.
Default: Your AWS account ID
- Parameters:
peerOwnerId- The AWS account ID of the owner of the peer VPC.Default: Your AWS account ID
-
getPeerOwnerId
The AWS account ID of the owner of the peer VPC.
Default: Your AWS account ID
- Returns:
- The AWS account ID of the owner of the peer VPC.
Default: Your AWS account ID
-
withPeerOwnerId
The AWS account ID of the owner of the peer VPC.
Default: Your AWS account ID
- Parameters:
peerOwnerId- The AWS account ID of the owner of the peer VPC.Default: Your AWS account ID
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequestin interfaceDryRunSupportedRequest<CreateVpcPeeringConnectionRequest>
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-