Package com.amazonaws.services.ec2.model
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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ModifyVpcPeeringConnectionOptionsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifyVpcPeeringConnectionOptionsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)PeeringConnectionOptionsRequestgetAccepterPeeringConnectionOptions()The VPC peering connection options for the accepter VPC.Request<ModifyVpcPeeringConnectionOptionsRequest>getDryRunRequest()This method is intended for internal use only.PeeringConnectionOptionsRequestgetRequesterPeeringConnectionOptions()The VPC peering connection options for the requester VPC.StringgetVpcPeeringConnectionId()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.StringtoString()Returns a string representation of this object; useful for testing and debugging.ModifyVpcPeeringConnectionOptionsRequestwithAccepterPeeringConnectionOptions(PeeringConnectionOptionsRequest accepterPeeringConnectionOptions)The VPC peering connection options for the accepter VPC.ModifyVpcPeeringConnectionOptionsRequestwithRequesterPeeringConnectionOptions(PeeringConnectionOptionsRequest requesterPeeringConnectionOptions)The VPC peering connection options for the requester VPC.ModifyVpcPeeringConnectionOptionsRequestwithVpcPeeringConnectionId(String vpcPeeringConnectionId)The ID of the VPC peering connection.-
Methods inherited from class com.amazonaws.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
-
-
-
-
Method Detail
-
setVpcPeeringConnectionId
public void setVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection.
- Parameters:
vpcPeeringConnectionId- The ID of the VPC peering connection.
-
getVpcPeeringConnectionId
public String 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
public PeeringConnectionOptionsRequest 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
public PeeringConnectionOptionsRequest 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
public Request<ModifyVpcPeeringConnectionOptionsRequest> 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ModifyVpcPeeringConnectionOptionsRequest 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:
Object.clone()
-
-