public class CreateVpcPeeringConnectionRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<CreateVpcPeeringConnectionRequest>
Contains the parameters for CreateVpcPeeringConnection.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
peerOwnerId
The AWS account ID of the owner of the peer VPC.
|
private java.lang.String |
peerVpcId
The ID of the VPC with which you are creating the VPC peering connection.
|
private java.lang.String |
vpcId
The ID of the requester VPC.
|
NOOP
Constructor and Description |
---|
CreateVpcPeeringConnectionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateVpcPeeringConnectionRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
Request<CreateVpcPeeringConnectionRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getPeerOwnerId()
The AWS account ID of the owner of the peer VPC.
|
java.lang.String |
getPeerVpcId()
The ID of the VPC with which you are creating the VPC peering connection.
|
java.lang.String |
getVpcId()
The ID of the requester VPC.
|
int |
hashCode() |
void |
setPeerOwnerId(java.lang.String peerOwnerId)
The AWS account ID of the owner of the peer VPC.
|
void |
setPeerVpcId(java.lang.String peerVpcId)
The ID of the VPC with which you are creating the VPC peering connection.
|
void |
setVpcId(java.lang.String vpcId)
The ID of the requester VPC.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateVpcPeeringConnectionRequest |
withPeerOwnerId(java.lang.String peerOwnerId)
The AWS account ID of the owner of the peer VPC.
|
CreateVpcPeeringConnectionRequest |
withPeerVpcId(java.lang.String peerVpcId)
The ID of the VPC with which you are creating the VPC peering connection.
|
CreateVpcPeeringConnectionRequest |
withVpcId(java.lang.String vpcId)
The ID of the requester VPC.
|
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 vpcId
The ID of the requester VPC.
private java.lang.String peerVpcId
The ID of the VPC with which you are creating the VPC peering connection.
private java.lang.String peerOwnerId
The AWS account ID of the owner of the peer VPC.
Default: Your AWS account ID
public void setVpcId(java.lang.String vpcId)
The ID of the requester VPC.
vpcId
- The ID of the requester VPC.public java.lang.String getVpcId()
The ID of the requester VPC.
public CreateVpcPeeringConnectionRequest withVpcId(java.lang.String vpcId)
The ID of the requester VPC.
vpcId
- The ID of the requester VPC.public void setPeerVpcId(java.lang.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 java.lang.String getPeerVpcId()
The ID of the VPC with which you are creating the VPC peering connection.
public CreateVpcPeeringConnectionRequest withPeerVpcId(java.lang.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 setPeerOwnerId(java.lang.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 java.lang.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(java.lang.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 Request<CreateVpcPeeringConnectionRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateVpcPeeringConnectionRequest>
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 CreateVpcPeeringConnectionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()