Class ClientVpnAuthorizationRuleStatus
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.ClientVpnAuthorizationRuleStatus
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ClientVpnAuthorizationRuleStatus.Builder,ClientVpnAuthorizationRuleStatus>
@Generated("software.amazon.awssdk:codegen") public final class ClientVpnAuthorizationRuleStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClientVpnAuthorizationRuleStatus.Builder,ClientVpnAuthorizationRuleStatus>
Describes the state of an authorization rule.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ClientVpnAuthorizationRuleStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClientVpnAuthorizationRuleStatus.Builder
builder()
ClientVpnAuthorizationRuleStatusCode
code()
The state of the authorization rule.String
codeAsString()
The state of the authorization rule.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 authorization rule, if applicable.List<SdkField<?>>
sdkFields()
static Class<? extends ClientVpnAuthorizationRuleStatus.Builder>
serializableBuilderClass()
ClientVpnAuthorizationRuleStatus.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 ClientVpnAuthorizationRuleStatusCode code()
The state of the authorization rule.
If the service returns an enum value that is not available in the current SDK version,
code
will returnClientVpnAuthorizationRuleStatusCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcodeAsString()
.- Returns:
- The state of the authorization rule.
- See Also:
ClientVpnAuthorizationRuleStatusCode
-
codeAsString
public final String codeAsString()
The state of the authorization rule.
If the service returns an enum value that is not available in the current SDK version,
code
will returnClientVpnAuthorizationRuleStatusCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcodeAsString()
.- Returns:
- The state of the authorization rule.
- See Also:
ClientVpnAuthorizationRuleStatusCode
-
message
public final String message()
A message about the status of the authorization rule, if applicable.
- Returns:
- A message about the status of the authorization rule, if applicable.
-
toBuilder
public ClientVpnAuthorizationRuleStatus.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ClientVpnAuthorizationRuleStatus.Builder,ClientVpnAuthorizationRuleStatus>
-
builder
public static ClientVpnAuthorizationRuleStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends ClientVpnAuthorizationRuleStatus.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.
-
-