@Generated(value="software.amazon.awssdk:codegen") public final class NetworkInterfacePermissionState extends Object implements ToCopyableBuilder<NetworkInterfacePermissionState.Builder,NetworkInterfacePermissionState>
Describes the state of a network interface permission.
Modifier and Type | Class and Description |
---|---|
static interface |
NetworkInterfacePermissionState.Builder |
Modifier and Type | Method and Description |
---|---|
static NetworkInterfacePermissionState.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends NetworkInterfacePermissionState.Builder> |
serializableBuilderClass() |
NetworkInterfacePermissionStateCode |
state()
The state of the permission.
|
String |
stateAsString()
The state of the permission.
|
String |
statusMessage()
A status message, if applicable.
|
NetworkInterfacePermissionState.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public NetworkInterfacePermissionStateCode state()
The state of the permission.
If the service returns an enum value that is not available in the current SDK version, state
will return
NetworkInterfacePermissionStateCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from stateAsString()
.
NetworkInterfacePermissionStateCode
public String stateAsString()
The state of the permission.
If the service returns an enum value that is not available in the current SDK version, state
will return
NetworkInterfacePermissionStateCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from stateAsString()
.
NetworkInterfacePermissionStateCode
public String statusMessage()
A status message, if applicable.
public NetworkInterfacePermissionState.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<NetworkInterfacePermissionState.Builder,NetworkInterfacePermissionState>
public static NetworkInterfacePermissionState.Builder builder()
public static Class<? extends NetworkInterfacePermissionState.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.