Class ConfirmPrivateVirtualInterfaceResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.directconnect.model.DirectConnectResponse
-
- software.amazon.awssdk.services.directconnect.model.ConfirmPrivateVirtualInterfaceResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ConfirmPrivateVirtualInterfaceResponse.Builder,ConfirmPrivateVirtualInterfaceResponse>
@Generated("software.amazon.awssdk:codegen") public final class ConfirmPrivateVirtualInterfaceResponse extends DirectConnectResponse implements ToCopyableBuilder<ConfirmPrivateVirtualInterfaceResponse.Builder,ConfirmPrivateVirtualInterfaceResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConfirmPrivateVirtualInterfaceResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfirmPrivateVirtualInterfaceResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ConfirmPrivateVirtualInterfaceResponse.Builder>serializableBuilderClass()ConfirmPrivateVirtualInterfaceResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.VirtualInterfaceStatevirtualInterfaceState()The state of the virtual interface.StringvirtualInterfaceStateAsString()The state of the virtual interface.-
Methods inherited from class software.amazon.awssdk.services.directconnect.model.DirectConnectResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
virtualInterfaceState
public final VirtualInterfaceState virtualInterfaceState()
The state of the virtual interface. The following are the possible values:
-
confirming: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner. -
verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created. -
pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic. -
available: A virtual interface that is able to forward traffic. -
down: A virtual interface that is BGP down. -
deleting: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic. -
deleted: A virtual interface that cannot forward traffic. -
rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in theConfirmingstate is deleted by the virtual interface owner, the virtual interface enters theRejectedstate. -
unknown: The state of the virtual interface is not available.
If the service returns an enum value that is not available in the current SDK version,
virtualInterfaceStatewill returnVirtualInterfaceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvirtualInterfaceStateAsString().- Returns:
- The state of the virtual interface. The following are the possible values:
-
confirming: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner. -
verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created. -
pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic. -
available: A virtual interface that is able to forward traffic. -
down: A virtual interface that is BGP down. -
deleting: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic. -
deleted: A virtual interface that cannot forward traffic. -
rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in theConfirmingstate is deleted by the virtual interface owner, the virtual interface enters theRejectedstate. -
unknown: The state of the virtual interface is not available.
-
- See Also:
VirtualInterfaceState
-
-
virtualInterfaceStateAsString
public final String virtualInterfaceStateAsString()
The state of the virtual interface. The following are the possible values:
-
confirming: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner. -
verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created. -
pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic. -
available: A virtual interface that is able to forward traffic. -
down: A virtual interface that is BGP down. -
deleting: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic. -
deleted: A virtual interface that cannot forward traffic. -
rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in theConfirmingstate is deleted by the virtual interface owner, the virtual interface enters theRejectedstate. -
unknown: The state of the virtual interface is not available.
If the service returns an enum value that is not available in the current SDK version,
virtualInterfaceStatewill returnVirtualInterfaceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvirtualInterfaceStateAsString().- Returns:
- The state of the virtual interface. The following are the possible values:
-
confirming: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner. -
verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created. -
pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic. -
available: A virtual interface that is able to forward traffic. -
down: A virtual interface that is BGP down. -
deleting: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic. -
deleted: A virtual interface that cannot forward traffic. -
rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in theConfirmingstate is deleted by the virtual interface owner, the virtual interface enters theRejectedstate. -
unknown: The state of the virtual interface is not available.
-
- See Also:
VirtualInterfaceState
-
-
toBuilder
public ConfirmPrivateVirtualInterfaceResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConfirmPrivateVirtualInterfaceResponse.Builder,ConfirmPrivateVirtualInterfaceResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static ConfirmPrivateVirtualInterfaceResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConfirmPrivateVirtualInterfaceResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-