@Generated(value="software.amazon.awssdk:codegen") public class ErrorDetails extends Object implements StructuredPojo, ToCopyableBuilder<ErrorDetails.Builder,ErrorDetails>
Represents information about an error in AWS CodePipeline.
Modifier and Type | Class and Description |
---|---|
static interface |
ErrorDetails.Builder |
Modifier and Type | Method and Description |
---|---|
static ErrorDetails.Builder |
builder() |
String |
code()
The system ID or error number code of the error.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
message()
The text of the error message.
|
static Class<? extends ErrorDetails.Builder> |
serializableBuilderClass() |
ErrorDetails.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String code()
The system ID or error number code of the error.
public String message()
The text of the error message.
public ErrorDetails.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ErrorDetails.Builder,ErrorDetails>
public static ErrorDetails.Builder builder()
public static Class<? extends ErrorDetails.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.