Class VpcEndpointError
- java.lang.Object
-
- software.amazon.awssdk.services.elasticsearch.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 interface
VpcEndpointError.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VpcEndpointError.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
VpcEndpointErrorCode
errorCode()
The code associated with the error.String
errorCodeAsString()
The code associated with the error.String
errorMessage()
A message describing the error.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends VpcEndpointError.Builder>
serializableBuilderClass()
VpcEndpointError.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
vpcEndpointId()
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,
errorCode
will 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,
errorCode
will 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:
toBuilder
in 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:
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-