Class VirtualGateway
- java.lang.Object
-
- software.amazon.awssdk.services.directconnect.model.VirtualGateway
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<VirtualGateway.Builder,VirtualGateway>
@Generated("software.amazon.awssdk:codegen") public final class VirtualGateway extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VirtualGateway.Builder,VirtualGateway>
Information about a virtual private gateway for a private virtual interface.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVirtualGateway.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VirtualGateway.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends VirtualGateway.Builder>serializableBuilderClass()VirtualGateway.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvirtualGatewayId()The ID of the virtual private gateway.StringvirtualGatewayState()The state of the virtual private 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
-
virtualGatewayId
public final String virtualGatewayId()
The ID of the virtual private gateway.
- Returns:
- The ID of the virtual private gateway.
-
virtualGatewayState
public final String virtualGatewayState()
The state of the virtual private gateway. The following are the possible values:
-
pending: Initial state after creating the virtual private gateway. -
available: Ready for use by a private virtual interface. -
deleting: Initial state after deleting the virtual private gateway. -
deleted: The virtual private gateway is deleted. The private virtual interface is unable to send traffic over this gateway.
- Returns:
- The state of the virtual private gateway. The following are the possible values:
-
pending: Initial state after creating the virtual private gateway. -
available: Ready for use by a private virtual interface. -
deleting: Initial state after deleting the virtual private gateway. -
deleted: The virtual private gateway is deleted. The private virtual interface is unable to send traffic over this gateway.
-
-
-
toBuilder
public VirtualGateway.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<VirtualGateway.Builder,VirtualGateway>
-
builder
public static VirtualGateway.Builder builder()
-
serializableBuilderClass
public static Class<? extends VirtualGateway.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.
-
-