@Generated(value="software.amazon.awssdk:codegen") public final class S3Object extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3Object.Builder,S3Object>
Information about an S3 object.
| Modifier and Type | Class and Description |
|---|---|
static interface |
S3Object.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
bucket()
The bucket containing the object.
|
static S3Object.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
etag()
The etag of the object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The key of the object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3Object.Builder> |
serializableBuilderClass() |
S3Object.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String bucket()
The bucket containing the object.
public String key()
The key of the object.
public String etag()
The etag of the object.
public S3Object.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<S3Object.Builder,S3Object>public static S3Object.Builder builder()
public static Class<? extends S3Object.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.