Class S3Object
- java.lang.Object
-
- software.amazon.awssdk.services.guardduty.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>
Contains information about the Amazon 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 static S3Object.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringeTag()The entity tag is a hash of the Amazon S3 object.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringkey()The key of the Amazon S3 object.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends S3Object.Builder>serializableBuilderClass()S3Object.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringversionId()The version Id of the Amazon S3 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
-
eTag
public final String eTag()
The entity tag is a hash of the Amazon S3 object. The ETag reflects changes only to the contents of an object, and not its metadata.
- Returns:
- The entity tag is a hash of the Amazon S3 object. The ETag reflects changes only to the contents of an object, and not its metadata.
-
key
public final String key()
The key of the Amazon S3 object.
- Returns:
- The key of the Amazon S3 object.
-
versionId
public final String versionId()
The version Id of the Amazon S3 object.
- Returns:
- The version Id of the Amazon S3 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-