Class S3Object
- java.lang.Object
-
- software.amazon.awssdk.services.robomaker.model.S3Object
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<S3Object.Builder,S3Object>
@Generated("software.amazon.awssdk:codegen") public final class S3Object extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3Object.Builder,S3Object>
Information about an S3 object.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceS3Object.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbucket()The bucket containing the object.static S3Object.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringetag()The etag of the object.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringkey()The key of the object.List<SdkField<?>>sdkFields()static Class<? extends S3Object.Builder>serializableBuilderClass()S3Object.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
bucket
public final String bucket()
The bucket containing the object.
- Returns:
- The bucket containing the object.
-
key
public final String key()
The key of the object.
- Returns:
- The key of the object.
-
etag
public final String etag()
The etag of the object.
- Returns:
- The etag of the object.
-
toBuilder
public S3Object.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3Object.Builder,S3Object>
-
builder
public static S3Object.Builder builder()
-
serializableBuilderClass
public static Class<? extends S3Object.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-