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 interface
LastError.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LastError.Builder
builder()
String
code()
The error code for the VPC endpoint error.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
message()
The error message for the VPC endpoint error.List<SdkField<?>>
sdkFields()
static Class<? extends LastError.Builder>
serializableBuilderClass()
LastError.Builder
toBuilder()
String
toString()
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:
toBuilder
in 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:
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.
-
-