Class CreateTransitGatewayVpcAttachmentRequestOptions

    • Method Detail

      • securityGroupReferencingSupport

        public final SecurityGroupReferencingSupportValue securityGroupReferencingSupport()

        This parameter is in preview and may not be available for your account.

        Enables you to reference a security group across VPCs attached to a transit gateway. Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.

        If you don't enable or disable SecurityGroupReferencingSupport in the request, the attachment will inherit the security group referencing support setting on the transit gateway.

        If the service returns an enum value that is not available in the current SDK version, securityGroupReferencingSupport will return SecurityGroupReferencingSupportValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from securityGroupReferencingSupportAsString().

        Returns:

        This parameter is in preview and may not be available for your account.

        Enables you to reference a security group across VPCs attached to a transit gateway. Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.

        If you don't enable or disable SecurityGroupReferencingSupport in the request, the attachment will inherit the security group referencing support setting on the transit gateway.

        See Also:
        SecurityGroupReferencingSupportValue
      • securityGroupReferencingSupportAsString

        public final String securityGroupReferencingSupportAsString()

        This parameter is in preview and may not be available for your account.

        Enables you to reference a security group across VPCs attached to a transit gateway. Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.

        If you don't enable or disable SecurityGroupReferencingSupport in the request, the attachment will inherit the security group referencing support setting on the transit gateway.

        If the service returns an enum value that is not available in the current SDK version, securityGroupReferencingSupport will return SecurityGroupReferencingSupportValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from securityGroupReferencingSupportAsString().

        Returns:

        This parameter is in preview and may not be available for your account.

        Enables you to reference a security group across VPCs attached to a transit gateway. Use this option to simplify security group management and control of instance-to-instance traffic across VPCs that are connected by transit gateway. You can also use this option to migrate from VPC peering (which was the only option that supported security group referencing) to transit gateways (which now also support security group referencing). This option is disabled by default and there are no additional costs to use this feature.

        If you don't enable or disable SecurityGroupReferencingSupport in the request, the attachment will inherit the security group referencing support setting on the transit gateway.

        See Also:
        SecurityGroupReferencingSupportValue
      • 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 return ApplianceModeSupportValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from applianceModeSupportAsString().

        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 return ApplianceModeSupportValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from applianceModeSupportAsString().

        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
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)