@Generated(value="software.amazon.awssdk:codegen") public class EnvironmentError extends Object implements StructuredPojo, ToCopyableBuilder<EnvironmentError.Builder,EnvironmentError>
The parent object that contains error information associated with your configuration settings.
Modifier and Type | Class and Description |
---|---|
static interface |
EnvironmentError.Builder |
Modifier and Type | Method and Description |
---|---|
static EnvironmentError.Builder |
builder() |
boolean |
equals(Object obj) |
String |
errorCode()
The error code returned by the environment error object.
|
<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 message returned by the environment error object.
|
static Class<? extends EnvironmentError.Builder> |
serializableBuilderClass() |
EnvironmentError.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 errorCode()
The error code returned by the environment error object.
public String message()
The message returned by the environment error object.
public EnvironmentError.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EnvironmentError.Builder,EnvironmentError>
public static EnvironmentError.Builder builder()
public static Class<? extends EnvironmentError.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.