@Generated(value="software.amazon.awssdk:codegen") public final class TransitGatewayRequestOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TransitGatewayRequestOptions.Builder,TransitGatewayRequestOptions>
Describes the options for a transit gateway.
Modifier and Type | Class and Description |
---|---|
static interface |
TransitGatewayRequestOptions.Builder |
Modifier and Type | Method and Description |
---|---|
Long |
amazonSideAsn()
A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
|
AutoAcceptSharedAttachmentsValue |
autoAcceptSharedAttachments()
Enable or disable automatic acceptance of attachment requests.
|
String |
autoAcceptSharedAttachmentsAsString()
Enable or disable automatic acceptance of attachment requests.
|
static TransitGatewayRequestOptions.Builder |
builder() |
DefaultRouteTableAssociationValue |
defaultRouteTableAssociation()
Enable or disable automatic association with the default association route table.
|
String |
defaultRouteTableAssociationAsString()
Enable or disable automatic association with the default association route table.
|
DefaultRouteTablePropagationValue |
defaultRouteTablePropagation()
Enable or disable automatic propagation of routes to the default propagation route table.
|
String |
defaultRouteTablePropagationAsString()
Enable or disable automatic propagation of routes to the default propagation route table.
|
DnsSupportValue |
dnsSupport()
Enable or disable DNS support.
|
String |
dnsSupportAsString()
Enable or disable DNS support.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TransitGatewayRequestOptions.Builder> |
serializableBuilderClass() |
TransitGatewayRequestOptions.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
VpnEcmpSupportValue |
vpnEcmpSupport()
Enable or disable Equal Cost Multipath Protocol support.
|
String |
vpnEcmpSupportAsString()
Enable or disable Equal Cost Multipath Protocol support.
|
copy
public Long amazonSideAsn()
A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.
public AutoAcceptSharedAttachmentsValue autoAcceptSharedAttachments()
Enable or disable automatic acceptance of attachment requests. The default is disable
.
If the service returns an enum value that is not available in the current SDK version,
autoAcceptSharedAttachments
will return AutoAcceptSharedAttachmentsValue.UNKNOWN_TO_SDK_VERSION
.
The raw value returned by the service is available from autoAcceptSharedAttachmentsAsString()
.
disable
.AutoAcceptSharedAttachmentsValue
public String autoAcceptSharedAttachmentsAsString()
Enable or disable automatic acceptance of attachment requests. The default is disable
.
If the service returns an enum value that is not available in the current SDK version,
autoAcceptSharedAttachments
will return AutoAcceptSharedAttachmentsValue.UNKNOWN_TO_SDK_VERSION
.
The raw value returned by the service is available from autoAcceptSharedAttachmentsAsString()
.
disable
.AutoAcceptSharedAttachmentsValue
public DefaultRouteTableAssociationValue defaultRouteTableAssociation()
Enable or disable automatic association with the default association route table. The default is
enable
.
If the service returns an enum value that is not available in the current SDK version,
defaultRouteTableAssociation
will return
DefaultRouteTableAssociationValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from defaultRouteTableAssociationAsString()
.
enable
.DefaultRouteTableAssociationValue
public String defaultRouteTableAssociationAsString()
Enable or disable automatic association with the default association route table. The default is
enable
.
If the service returns an enum value that is not available in the current SDK version,
defaultRouteTableAssociation
will return
DefaultRouteTableAssociationValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from defaultRouteTableAssociationAsString()
.
enable
.DefaultRouteTableAssociationValue
public DefaultRouteTablePropagationValue defaultRouteTablePropagation()
Enable or disable automatic propagation of routes to the default propagation route table. The default is
enable
.
If the service returns an enum value that is not available in the current SDK version,
defaultRouteTablePropagation
will return
DefaultRouteTablePropagationValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from defaultRouteTablePropagationAsString()
.
enable
.DefaultRouteTablePropagationValue
public String defaultRouteTablePropagationAsString()
Enable or disable automatic propagation of routes to the default propagation route table. The default is
enable
.
If the service returns an enum value that is not available in the current SDK version,
defaultRouteTablePropagation
will return
DefaultRouteTablePropagationValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from defaultRouteTablePropagationAsString()
.
enable
.DefaultRouteTablePropagationValue
public VpnEcmpSupportValue vpnEcmpSupport()
Enable or disable Equal Cost Multipath Protocol support.
If the service returns an enum value that is not available in the current SDK version, vpnEcmpSupport
will return VpnEcmpSupportValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from vpnEcmpSupportAsString()
.
VpnEcmpSupportValue
public String vpnEcmpSupportAsString()
Enable or disable Equal Cost Multipath Protocol support.
If the service returns an enum value that is not available in the current SDK version, vpnEcmpSupport
will return VpnEcmpSupportValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from vpnEcmpSupportAsString()
.
VpnEcmpSupportValue
public DnsSupportValue dnsSupport()
Enable or disable DNS support.
If the service returns an enum value that is not available in the current SDK version, dnsSupport
will
return DnsSupportValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
dnsSupportAsString()
.
DnsSupportValue
public String dnsSupportAsString()
Enable or disable DNS support.
If the service returns an enum value that is not available in the current SDK version, dnsSupport
will
return DnsSupportValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
dnsSupportAsString()
.
DnsSupportValue
public TransitGatewayRequestOptions.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TransitGatewayRequestOptions.Builder,TransitGatewayRequestOptions>
public static TransitGatewayRequestOptions.Builder builder()
public static Class<? extends TransitGatewayRequestOptions.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.