@Generated(value="software.amazon.awssdk:codegen") public final class CreateVpnConnectionRequest extends Ec2Request implements ToCopyableBuilder<CreateVpnConnectionRequest.Builder,CreateVpnConnectionRequest>
Contains the parameters for CreateVpnConnection.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateVpnConnectionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateVpnConnectionRequest.Builder |
builder() |
String |
customerGatewayId()
The ID of the customer gateway.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
VpnConnectionOptionsSpecification |
options()
The options for the VPN connection.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateVpnConnectionRequest.Builder> |
serializableBuilderClass() |
CreateVpnConnectionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
transitGatewayId()
The ID of the transit gateway.
|
String |
type()
The type of VPN connection (
ipsec.1). |
String |
vpnGatewayId()
The ID of the virtual private gateway.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String customerGatewayId()
The ID of the customer gateway.
public String type()
The type of VPN connection (ipsec.1).
ipsec.1).public String vpnGatewayId()
The ID of the virtual private gateway. If you specify a virtual private gateway, you cannot specify a transit gateway.
public String transitGatewayId()
The ID of the transit gateway. If you specify a transit gateway, you cannot specify a virtual private gateway.
public VpnConnectionOptionsSpecification options()
The options for the VPN connection.
public CreateVpnConnectionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateVpnConnectionRequest.Builder,CreateVpnConnectionRequest>toBuilder in class Ec2Requestpublic static CreateVpnConnectionRequest.Builder builder()
public static Class<? extends CreateVpnConnectionRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.