@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 final String bucket()
The bucket containing the object.
public final String key()
The key of the object.
public final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.