Class S3Object
- java.lang.Object
-
- software.amazon.awssdk.services.rekognition.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>
Provides the S3 bucket name and object name.
The region for the S3 bucket containing the S3 object must match the region you use for Amazon Rekognition operations.
For Amazon Rekognition to process an S3 object, the user must have permission to access the S3 object. For more information, see How Amazon Rekognition works with IAM in the Amazon Rekognition Developer Guide.
- 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()Name of the S3 bucket.static S3Object.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()S3 object key name.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends S3Object.Builder>serializableBuilderClass()S3Object.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringversion()If the bucket is versioning enabled, you can specify the object version.-
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()
Name of the S3 bucket.
- Returns:
- Name of the S3 bucket.
-
name
public final String name()
S3 object key name.
- Returns:
- S3 object key name.
-
version
public final String version()
If the bucket is versioning enabled, you can specify the object version.
- Returns:
- If the bucket is versioning enabled, you can specify the object version.
-
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
-
-