StructuredPojo
, ToCopyableBuilder<FailureInfo.Builder,FailureInfo>
@Generated("software.amazon.awssdk:codegen") public class FailureInfo extends Object implements StructuredPojo, ToCopyableBuilder<FailureInfo.Builder,FailureInfo>
Details of the common errors that all actions return.
Modifier and Type | Class | Description |
---|---|---|
static interface |
FailureInfo.Builder |
Modifier and Type | Method | Description |
---|---|---|
static FailureInfo.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
String |
errorCode() |
The code of the common error.
|
String |
errorMessage() |
The message of the common error.
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends FailureInfo.Builder> |
serializableBuilderClass() |
|
Integer |
statusCode() |
The HTTP status code of the common error.
|
FailureInfo.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public Integer statusCode()
The HTTP status code of the common error.
public String errorCode()
The code of the common error. Valid values include InternalServiceException
,
InvalidParameterException
, and any valid error code returned by the AWS service that hosts the
resource that you want to tag.
InternalServiceException
,
InvalidParameterException
, and any valid error code returned by the AWS service that hosts
the resource that you want to tag.ErrorCode
public String errorMessage()
The message of the common error.
public FailureInfo.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FailureInfo.Builder,FailureInfo>
public static FailureInfo.Builder builder()
public static Class<? extends FailureInfo.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.