Class AssociatedGateway
- java.lang.Object
-
- software.amazon.awssdk.services.directconnect.model.AssociatedGateway
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AssociatedGateway.Builder,AssociatedGateway>
@Generated("software.amazon.awssdk:codegen") public final class AssociatedGateway extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AssociatedGateway.Builder,AssociatedGateway>
Information about the associated gateway.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssociatedGateway.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssociatedGateway.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the associated gateway.StringownerAccount()The ID of the Amazon Web Services account that owns the associated virtual private gateway or transit gateway.Stringregion()The Region where the associated gateway is located.List<SdkField<?>>sdkFields()static Class<? extends AssociatedGateway.Builder>serializableBuilderClass()AssociatedGateway.BuildertoBuilder()StringtoString()Returns a string representation of this object.GatewayTypetype()The type of associated gateway.StringtypeAsString()The type of associated gateway.-
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
-
id
public final String id()
The ID of the associated gateway.
- Returns:
- The ID of the associated gateway.
-
type
public final GatewayType type()
The type of associated gateway.
If the service returns an enum value that is not available in the current SDK version,
typewill returnGatewayType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of associated gateway.
- See Also:
GatewayType
-
typeAsString
public final String typeAsString()
The type of associated gateway.
If the service returns an enum value that is not available in the current SDK version,
typewill returnGatewayType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of associated gateway.
- See Also:
GatewayType
-
ownerAccount
public final String ownerAccount()
The ID of the Amazon Web Services account that owns the associated virtual private gateway or transit gateway.
- Returns:
- The ID of the Amazon Web Services account that owns the associated virtual private gateway or transit gateway.
-
region
public final String region()
The Region where the associated gateway is located.
- Returns:
- The Region where the associated gateway is located.
-
toBuilder
public AssociatedGateway.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssociatedGateway.Builder,AssociatedGateway>
-
builder
public static AssociatedGateway.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssociatedGateway.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
-