@Generated(value="software.amazon.awssdk:codegen") public final class VpcPeeringConnectionStateReason extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VpcPeeringConnectionStateReason.Builder,VpcPeeringConnectionStateReason>
Describes the status of a VPC peering connection.
Modifier and Type | Class and Description |
---|---|
static interface |
VpcPeeringConnectionStateReason.Builder |
Modifier and Type | Method and Description |
---|---|
static VpcPeeringConnectionStateReason.Builder |
builder() |
VpcPeeringConnectionStateReasonCode |
code()
The status of the VPC peering connection.
|
String |
codeAsString()
The status of the VPC peering connection.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
A message that provides more information about the status, if applicable.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VpcPeeringConnectionStateReason.Builder> |
serializableBuilderClass() |
VpcPeeringConnectionStateReason.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public VpcPeeringConnectionStateReasonCode code()
The status of the VPC peering connection.
If the service returns an enum value that is not available in the current SDK version, code
will return
VpcPeeringConnectionStateReasonCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from codeAsString()
.
VpcPeeringConnectionStateReasonCode
public String codeAsString()
The status of the VPC peering connection.
If the service returns an enum value that is not available in the current SDK version, code
will return
VpcPeeringConnectionStateReasonCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from codeAsString()
.
VpcPeeringConnectionStateReasonCode
public String message()
A message that provides more information about the status, if applicable.
public VpcPeeringConnectionStateReason.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<VpcPeeringConnectionStateReason.Builder,VpcPeeringConnectionStateReason>
public static VpcPeeringConnectionStateReason.Builder builder()
public static Class<? extends VpcPeeringConnectionStateReason.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.