Class ClientVpnEndpointStatus
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.ClientVpnEndpointStatus
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ClientVpnEndpointStatus.Builder,ClientVpnEndpointStatus>
@Generated("software.amazon.awssdk:codegen") public final class ClientVpnEndpointStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClientVpnEndpointStatus.Builder,ClientVpnEndpointStatus>
Describes the state of a Client VPN endpoint.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ClientVpnEndpointStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClientVpnEndpointStatus.Builder
builder()
ClientVpnEndpointStatusCode
code()
The state of the Client VPN endpoint.String
codeAsString()
The state of the Client VPN endpoint.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
message()
A message about the status of the Client VPN endpoint.List<SdkField<?>>
sdkFields()
static Class<? extends ClientVpnEndpointStatus.Builder>
serializableBuilderClass()
ClientVpnEndpointStatus.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
-
code
public final ClientVpnEndpointStatusCode code()
The state of the Client VPN endpoint. Possible states include:
-
pending-associate
- The Client VPN endpoint has been created but no target networks have been associated. The Client VPN endpoint cannot accept connections. -
available
- The Client VPN endpoint has been created and a target network has been associated. The Client VPN endpoint can accept connections. -
deleting
- The Client VPN endpoint is being deleted. The Client VPN endpoint cannot accept connections. -
deleted
- The Client VPN endpoint has been deleted. The Client VPN endpoint cannot accept connections.
If the service returns an enum value that is not available in the current SDK version,
code
will returnClientVpnEndpointStatusCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcodeAsString()
.- Returns:
- The state of the Client VPN endpoint. Possible states include:
-
pending-associate
- The Client VPN endpoint has been created but no target networks have been associated. The Client VPN endpoint cannot accept connections. -
available
- The Client VPN endpoint has been created and a target network has been associated. The Client VPN endpoint can accept connections. -
deleting
- The Client VPN endpoint is being deleted. The Client VPN endpoint cannot accept connections. -
deleted
- The Client VPN endpoint has been deleted. The Client VPN endpoint cannot accept connections.
-
- See Also:
ClientVpnEndpointStatusCode
-
-
codeAsString
public final String codeAsString()
The state of the Client VPN endpoint. Possible states include:
-
pending-associate
- The Client VPN endpoint has been created but no target networks have been associated. The Client VPN endpoint cannot accept connections. -
available
- The Client VPN endpoint has been created and a target network has been associated. The Client VPN endpoint can accept connections. -
deleting
- The Client VPN endpoint is being deleted. The Client VPN endpoint cannot accept connections. -
deleted
- The Client VPN endpoint has been deleted. The Client VPN endpoint cannot accept connections.
If the service returns an enum value that is not available in the current SDK version,
code
will returnClientVpnEndpointStatusCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcodeAsString()
.- Returns:
- The state of the Client VPN endpoint. Possible states include:
-
pending-associate
- The Client VPN endpoint has been created but no target networks have been associated. The Client VPN endpoint cannot accept connections. -
available
- The Client VPN endpoint has been created and a target network has been associated. The Client VPN endpoint can accept connections. -
deleting
- The Client VPN endpoint is being deleted. The Client VPN endpoint cannot accept connections. -
deleted
- The Client VPN endpoint has been deleted. The Client VPN endpoint cannot accept connections.
-
- See Also:
ClientVpnEndpointStatusCode
-
-
message
public final String message()
A message about the status of the Client VPN endpoint.
- Returns:
- A message about the status of the Client VPN endpoint.
-
toBuilder
public ClientVpnEndpointStatus.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ClientVpnEndpointStatus.Builder,ClientVpnEndpointStatus>
-
builder
public static ClientVpnEndpointStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends ClientVpnEndpointStatus.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.
-
-