Class VpcEndpointError
- java.lang.Object
-
- software.amazon.awssdk.services.opensearch.model.VpcEndpointError
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<VpcEndpointError.Builder,VpcEndpointError>
@Generated("software.amazon.awssdk:codegen") public final class VpcEndpointError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VpcEndpointError.Builder,VpcEndpointError>
Error information when attempting to describe an Amazon OpenSearch Service-managed VPC endpoint.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVpcEndpointError.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VpcEndpointError.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)VpcEndpointErrorCodeerrorCode()The code associated with the error.StringerrorCodeAsString()The code associated with the error.StringerrorMessage()A message describing the error.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends VpcEndpointError.Builder>serializableBuilderClass()VpcEndpointError.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvpcEndpointId()The unique identifier of the endpoint.-
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
-
vpcEndpointId
public final String vpcEndpointId()
The unique identifier of the endpoint.
- Returns:
- The unique identifier of the endpoint.
-
errorCode
public final VpcEndpointErrorCode errorCode()
The code associated with the error.
If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnVpcEndpointErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The code associated with the error.
- See Also:
VpcEndpointErrorCode
-
errorCodeAsString
public final String errorCodeAsString()
The code associated with the error.
If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnVpcEndpointErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The code associated with the error.
- See Also:
VpcEndpointErrorCode
-
errorMessage
public final String errorMessage()
A message describing the error.
- Returns:
- A message describing the error.
-
toBuilder
public VpcEndpointError.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<VpcEndpointError.Builder,VpcEndpointError>
-
builder
public static VpcEndpointError.Builder builder()
-
serializableBuilderClass
public static Class<? extends VpcEndpointError.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-