Class LastError
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.LastError
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LastError.Builder,LastError>
@Generated("software.amazon.awssdk:codegen") public final class LastError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LastError.Builder,LastError>
The last error that occurred for a VPC endpoint.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLastError.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LastError.Builderbuilder()Stringcode()The error code for the VPC endpoint error.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()The error message for the VPC endpoint error.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends LastError.Builder>serializableBuilderClass()LastError.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
message
public final String message()
The error message for the VPC endpoint error.
- Returns:
- The error message for the VPC endpoint error.
-
code
public final String code()
The error code for the VPC endpoint error.
- Returns:
- The error code for the VPC endpoint error.
-
toBuilder
public LastError.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LastError.Builder,LastError>
-
builder
public static LastError.Builder builder()
-
serializableBuilderClass
public static Class<? extends LastError.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
-
-