@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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTagSpecifications()
Returns true if the TagSpecifications property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
VpnConnectionOptionsSpecification |
options()
The options for the VPN connection.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateVpnConnectionRequest.Builder> |
serializableBuilderClass() |
List<TagSpecification> |
tagSpecifications()
The tags to apply to the VPN connection.
|
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 boolean hasTagSpecifications()
public List<TagSpecification> tagSpecifications()
The tags to apply to the VPN connection.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTagSpecifications() to see if a value was sent in this field.
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 int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.