@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVpcPeeringConnectionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateVpcPeeringConnectionRequest>
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 Amazon Web Services 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.
|
List<TagSpecification> |
getTagSpecifications()
The tags to assign to the peering connection.
|
String |
getVpcId()
The ID of the requester VPC.
|
int |
hashCode() |
void |
setPeerOwnerId(String peerOwnerId)
The Amazon Web Services 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 |
setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the peering connection.
|
void |
setVpcId(String vpcId)
The ID of the requester VPC.
|
String |
toString()
Returns a string representation of this object.
|
CreateVpcPeeringConnectionRequest |
withPeerOwnerId(String peerOwnerId)
The Amazon Web Services 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 |
withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the peering connection.
|
CreateVpcPeeringConnectionRequest |
withTagSpecifications(TagSpecification... tagSpecifications)
The tags to assign to the 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 Amazon Web Services account ID of the owner of the accepter VPC.
Default: Your Amazon Web Services account ID
peerOwnerId
- The Amazon Web Services account ID of the owner of the accepter VPC.
Default: Your Amazon Web Services account ID
public String getPeerOwnerId()
The Amazon Web Services account ID of the owner of the accepter VPC.
Default: Your Amazon Web Services account ID
Default: Your Amazon Web Services account ID
public CreateVpcPeeringConnectionRequest withPeerOwnerId(String peerOwnerId)
The Amazon Web Services account ID of the owner of the accepter VPC.
Default: Your Amazon Web Services account ID
peerOwnerId
- The Amazon Web Services account ID of the owner of the accepter VPC.
Default: Your Amazon Web Services 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 List<TagSpecification> getTagSpecifications()
The tags to assign to the peering connection.
public void setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the peering connection.
tagSpecifications
- The tags to assign to the peering connection.public CreateVpcPeeringConnectionRequest withTagSpecifications(TagSpecification... tagSpecifications)
The tags to assign to the peering connection.
NOTE: This method appends the values to the existing list (if any). Use
setTagSpecifications(java.util.Collection)
or withTagSpecifications(java.util.Collection)
if
you want to override the existing values.
tagSpecifications
- The tags to assign to the peering connection.public CreateVpcPeeringConnectionRequest withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the peering connection.
tagSpecifications
- The tags to assign to the peering connection.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()