public class CreateVpnConnectionRouteRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<CreateVpnConnectionRouteRequest>
Contains the parameters for CreateVpnConnectionRoute.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
destinationCidrBlock
The CIDR block associated with the local subnet of the customer network.
|
private java.lang.String |
vpnConnectionId
The ID of the VPN connection.
|
NOOP
Constructor and Description |
---|
CreateVpnConnectionRouteRequest() |
Modifier and Type | Method and Description |
---|---|
CreateVpnConnectionRouteRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDestinationCidrBlock()
The CIDR block associated with the local subnet of the customer network.
|
Request<CreateVpnConnectionRouteRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getVpnConnectionId()
The ID of the VPN connection.
|
int |
hashCode() |
void |
setDestinationCidrBlock(java.lang.String destinationCidrBlock)
The CIDR block associated with the local subnet of the customer network.
|
void |
setVpnConnectionId(java.lang.String vpnConnectionId)
The ID of the VPN connection.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateVpnConnectionRouteRequest |
withDestinationCidrBlock(java.lang.String destinationCidrBlock)
The CIDR block associated with the local subnet of the customer network.
|
CreateVpnConnectionRouteRequest |
withVpnConnectionId(java.lang.String vpnConnectionId)
The ID of the VPN connection.
|
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 vpnConnectionId
The ID of the VPN connection.
private java.lang.String destinationCidrBlock
The CIDR block associated with the local subnet of the customer network.
public void setVpnConnectionId(java.lang.String vpnConnectionId)
The ID of the VPN connection.
vpnConnectionId
- The ID of the VPN connection.public java.lang.String getVpnConnectionId()
The ID of the VPN connection.
public CreateVpnConnectionRouteRequest withVpnConnectionId(java.lang.String vpnConnectionId)
The ID of the VPN connection.
vpnConnectionId
- The ID of the VPN connection.public void setDestinationCidrBlock(java.lang.String destinationCidrBlock)
The CIDR block associated with the local subnet of the customer network.
destinationCidrBlock
- The CIDR block associated with the local subnet of the customer
network.public java.lang.String getDestinationCidrBlock()
The CIDR block associated with the local subnet of the customer network.
public CreateVpnConnectionRouteRequest withDestinationCidrBlock(java.lang.String destinationCidrBlock)
The CIDR block associated with the local subnet of the customer network.
destinationCidrBlock
- The CIDR block associated with the local subnet of the customer
network.public Request<CreateVpnConnectionRouteRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateVpnConnectionRouteRequest>
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 CreateVpnConnectionRouteRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()