Class ModifyVpcPeeringConnectionOptionsRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.ModifyVpcPeeringConnectionOptionsRequest
- All Implemented Interfaces:
ReadLimitInfo, DryRunSupportedRequest<ModifyVpcPeeringConnectionOptionsRequest>, Serializable, Cloneable
public class ModifyVpcPeeringConnectionOptionsRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable, DryRunSupportedRequest<ModifyVpcPeeringConnectionOptionsRequest>
- 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.booleanThe VPC peering connection options for the accepter VPC.This method is intended for internal use only.The VPC peering connection options for the requester VPC.The ID of the VPC peering connection.inthashCode()voidsetAccepterPeeringConnectionOptions(PeeringConnectionOptionsRequest accepterPeeringConnectionOptions) The VPC peering connection options for the accepter VPC.voidsetRequesterPeeringConnectionOptions(PeeringConnectionOptionsRequest requesterPeeringConnectionOptions) The VPC peering connection options for the requester VPC.voidsetVpcPeeringConnectionId(String vpcPeeringConnectionId) The ID of the VPC peering connection.toString()Returns a string representation of this object; useful for testing and debugging.withAccepterPeeringConnectionOptions(PeeringConnectionOptionsRequest accepterPeeringConnectionOptions) The VPC peering connection options for the accepter VPC.withRequesterPeeringConnectionOptions(PeeringConnectionOptionsRequest requesterPeeringConnectionOptions) The VPC peering connection options for the requester VPC.withVpcPeeringConnectionId(String vpcPeeringConnectionId) The ID of the VPC peering connection.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
-
ModifyVpcPeeringConnectionOptionsRequest
public ModifyVpcPeeringConnectionOptionsRequest()
-
-
Method Details
-
setVpcPeeringConnectionId
The ID of the VPC peering connection.
- Parameters:
vpcPeeringConnectionId- The ID of the VPC peering connection.
-
getVpcPeeringConnectionId
The ID of the VPC peering connection.
- Returns:
- The ID of the VPC peering connection.
-
withVpcPeeringConnectionId
public ModifyVpcPeeringConnectionOptionsRequest withVpcPeeringConnectionId(String vpcPeeringConnectionId) The ID of the VPC peering connection.
- Parameters:
vpcPeeringConnectionId- The ID of the VPC peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRequesterPeeringConnectionOptions
public void setRequesterPeeringConnectionOptions(PeeringConnectionOptionsRequest requesterPeeringConnectionOptions) The VPC peering connection options for the requester VPC.
- Parameters:
requesterPeeringConnectionOptions- The VPC peering connection options for the requester VPC.
-
getRequesterPeeringConnectionOptions
The VPC peering connection options for the requester VPC.
- Returns:
- The VPC peering connection options for the requester VPC.
-
withRequesterPeeringConnectionOptions
public ModifyVpcPeeringConnectionOptionsRequest withRequesterPeeringConnectionOptions(PeeringConnectionOptionsRequest requesterPeeringConnectionOptions) The VPC peering connection options for the requester VPC.
- Parameters:
requesterPeeringConnectionOptions- The VPC peering connection options for the requester VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAccepterPeeringConnectionOptions
public void setAccepterPeeringConnectionOptions(PeeringConnectionOptionsRequest accepterPeeringConnectionOptions) The VPC peering connection options for the accepter VPC.
- Parameters:
accepterPeeringConnectionOptions- The VPC peering connection options for the accepter VPC.
-
getAccepterPeeringConnectionOptions
The VPC peering connection options for the accepter VPC.
- Returns:
- The VPC peering connection options for the accepter VPC.
-
withAccepterPeeringConnectionOptions
public ModifyVpcPeeringConnectionOptionsRequest withAccepterPeeringConnectionOptions(PeeringConnectionOptionsRequest accepterPeeringConnectionOptions) The VPC peering connection options for the accepter VPC.
- Parameters:
accepterPeeringConnectionOptions- The VPC peering connection options for the accepter VPC.- 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<ModifyVpcPeeringConnectionOptionsRequest>
-
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:
-