Class CreateTransitGatewayVpcAttachmentRequestOptions
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.CreateTransitGatewayVpcAttachmentRequestOptions
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<CreateTransitGatewayVpcAttachmentRequestOptions.Builder,CreateTransitGatewayVpcAttachmentRequestOptions>
@Generated("software.amazon.awssdk:codegen") public final class CreateTransitGatewayVpcAttachmentRequestOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreateTransitGatewayVpcAttachmentRequestOptions.Builder,CreateTransitGatewayVpcAttachmentRequestOptions>
Describes the options for a VPC attachment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CreateTransitGatewayVpcAttachmentRequestOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplianceModeSupportValue
applianceModeSupport()
Enable or disable support for appliance mode.String
applianceModeSupportAsString()
Enable or disable support for appliance mode.static CreateTransitGatewayVpcAttachmentRequestOptions.Builder
builder()
DnsSupportValue
dnsSupport()
Enable or disable DNS support.String
dnsSupportAsString()
Enable or disable DNS support.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Ipv6SupportValue
ipv6Support()
Enable or disable IPv6 support.String
ipv6SupportAsString()
Enable or disable IPv6 support.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
SecurityGroupReferencingSupportValue
securityGroupReferencingSupport()
Enables you to reference a security group across VPCs attached to a transit gateway to simplify security group management.String
securityGroupReferencingSupportAsString()
Enables you to reference a security group across VPCs attached to a transit gateway to simplify security group management.static Class<? extends CreateTransitGatewayVpcAttachmentRequestOptions.Builder>
serializableBuilderClass()
CreateTransitGatewayVpcAttachmentRequestOptions.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
dnsSupport
public final DnsSupportValue dnsSupport()
Enable or disable DNS support. The default is
enable
.If the service returns an enum value that is not available in the current SDK version,
dnsSupport
will returnDnsSupportValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdnsSupportAsString()
.- Returns:
- Enable or disable DNS support. The default is
enable
. - See Also:
DnsSupportValue
-
dnsSupportAsString
public final String dnsSupportAsString()
Enable or disable DNS support. The default is
enable
.If the service returns an enum value that is not available in the current SDK version,
dnsSupport
will returnDnsSupportValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdnsSupportAsString()
.- Returns:
- Enable or disable DNS support. The default is
enable
. - See Also:
DnsSupportValue
-
securityGroupReferencingSupport
public final SecurityGroupReferencingSupportValue securityGroupReferencingSupport()
Enables you to reference a security group across VPCs attached to a transit gateway to simplify security group management.
This option is set to
enable
by default. However, at the transit gateway level the default is set todisable
.For more information about security group referencing, see Security group referencing in the Amazon Web Services Transit Gateways Guide.
If the service returns an enum value that is not available in the current SDK version,
securityGroupReferencingSupport
will returnSecurityGroupReferencingSupportValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsecurityGroupReferencingSupportAsString()
.- Returns:
- Enables you to reference a security group across VPCs attached to a transit gateway to simplify security
group management.
This option is set to
enable
by default. However, at the transit gateway level the default is set todisable
.For more information about security group referencing, see Security group referencing in the Amazon Web Services Transit Gateways Guide.
- See Also:
SecurityGroupReferencingSupportValue
-
securityGroupReferencingSupportAsString
public final String securityGroupReferencingSupportAsString()
Enables you to reference a security group across VPCs attached to a transit gateway to simplify security group management.
This option is set to
enable
by default. However, at the transit gateway level the default is set todisable
.For more information about security group referencing, see Security group referencing in the Amazon Web Services Transit Gateways Guide.
If the service returns an enum value that is not available in the current SDK version,
securityGroupReferencingSupport
will returnSecurityGroupReferencingSupportValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsecurityGroupReferencingSupportAsString()
.- Returns:
- Enables you to reference a security group across VPCs attached to a transit gateway to simplify security
group management.
This option is set to
enable
by default. However, at the transit gateway level the default is set todisable
.For more information about security group referencing, see Security group referencing in the Amazon Web Services Transit Gateways Guide.
- See Also:
SecurityGroupReferencingSupportValue
-
ipv6Support
public final Ipv6SupportValue ipv6Support()
Enable or disable IPv6 support. The default is
disable
.If the service returns an enum value that is not available in the current SDK version,
ipv6Support
will returnIpv6SupportValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromipv6SupportAsString()
.- Returns:
- Enable or disable IPv6 support. The default is
disable
. - See Also:
Ipv6SupportValue
-
ipv6SupportAsString
public final String ipv6SupportAsString()
Enable or disable IPv6 support. The default is
disable
.If the service returns an enum value that is not available in the current SDK version,
ipv6Support
will returnIpv6SupportValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromipv6SupportAsString()
.- Returns:
- Enable or disable IPv6 support. The default is
disable
. - See Also:
Ipv6SupportValue
-
applianceModeSupport
public final ApplianceModeSupportValue applianceModeSupport()
Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is
disable
.If the service returns an enum value that is not available in the current SDK version,
applianceModeSupport
will returnApplianceModeSupportValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromapplianceModeSupportAsString()
.- Returns:
- Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination
uses the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is
disable
. - See Also:
ApplianceModeSupportValue
-
applianceModeSupportAsString
public final String applianceModeSupportAsString()
Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is
disable
.If the service returns an enum value that is not available in the current SDK version,
applianceModeSupport
will returnApplianceModeSupportValue.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromapplianceModeSupportAsString()
.- Returns:
- Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination
uses the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is
disable
. - See Also:
ApplianceModeSupportValue
-
toBuilder
public CreateTransitGatewayVpcAttachmentRequestOptions.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<CreateTransitGatewayVpcAttachmentRequestOptions.Builder,CreateTransitGatewayVpcAttachmentRequestOptions>
-
builder
public static CreateTransitGatewayVpcAttachmentRequestOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateTransitGatewayVpcAttachmentRequestOptions.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-