Class S3ObjectDetail
- java.lang.Object
-
- software.amazon.awssdk.services.guardduty.model.S3ObjectDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<S3ObjectDetail.Builder,S3ObjectDetail>
@Generated("software.amazon.awssdk:codegen") public final class S3ObjectDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3ObjectDetail.Builder,S3ObjectDetail>
Information about the S3 object that was scanned
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceS3ObjectDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static S3ObjectDetail.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringeTag()The entity tag is a hash of the S3 object.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)Stringhash()Hash of the threat detected in this finding.inthashCode()Stringkey()Key of the S3 object.StringobjectArn()Amazon Resource Name (ARN) of the S3 object.List<SdkField<?>>sdkFields()static Class<? extends S3ObjectDetail.Builder>serializableBuilderClass()S3ObjectDetail.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringversionId()Version ID of the 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
-
objectArn
public final String objectArn()
Amazon Resource Name (ARN) of the S3 object.
- Returns:
- Amazon Resource Name (ARN) of the S3 object.
-
key
public final String key()
Key of the S3 object.
- Returns:
- Key of the S3 object.
-
eTag
public final String eTag()
The entity tag is a hash of the 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 S3 object. The ETag reflects changes only to the contents of an object, and not its metadata.
-
hash
public final String hash()
Hash of the threat detected in this finding.
- Returns:
- Hash of the threat detected in this finding.
-
versionId
public final String versionId()
Version ID of the object.
- Returns:
- Version ID of the object.
-
toBuilder
public S3ObjectDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3ObjectDetail.Builder,S3ObjectDetail>
-
builder
public static S3ObjectDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends S3ObjectDetail.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.
-
-