StructuredPojo
, ToCopyableBuilder<ServiceError.Builder,ServiceError>
@Generated("software.amazon.awssdk:codegen") public class ServiceError extends Object implements StructuredPojo, ToCopyableBuilder<ServiceError.Builder,ServiceError>
Describes an AWS OpsWorks Stacks service error.
Modifier and Type | Class | Description |
---|---|---|
static interface |
ServiceError.Builder |
Modifier and Type | Method | Description |
---|---|---|
static ServiceError.Builder |
builder() |
|
String |
createdAt() |
When the error occurred.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
instanceId() |
The instance ID.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
message() |
A message that describes the error.
|
static Class<? extends ServiceError.Builder> |
serializableBuilderClass() |
|
String |
serviceErrorId() |
The error ID.
|
String |
stackId() |
The stack ID.
|
ServiceError.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
type() |
The error type.
|
public String serviceErrorId()
The error ID.
public String stackId()
The stack ID.
public String instanceId()
The instance ID.
public String type()
The error type.
public String message()
A message that describes the error.
public String createdAt()
When the error occurred.
public ServiceError.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ServiceError.Builder,ServiceError>
public static ServiceError.Builder builder()
public static Class<? extends ServiceError.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.