@Generated(value="software.amazon.awssdk:codegen") public final class S3Error extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3Error.Builder,S3Error>
Modifier and Type | Class and Description |
---|---|
static interface |
S3Error.Builder |
Modifier and Type | Method and Description |
---|---|
static S3Error.Builder |
builder() |
String |
code()
Returns the value of the Code property for this object.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
Returns the value of the Key property for this object.
|
String |
message()
Returns the value of the Message property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3Error.Builder> |
serializableBuilderClass() |
S3Error.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
versionId()
Returns the value of the VersionId property for this object.
|
copy
public String key()
public String versionId()
public String code()
public String message()
public S3Error.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<S3Error.Builder,S3Error>
public static S3Error.Builder builder()
public static Class<? extends S3Error.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.