@Generated(value="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 Resource-Based Policies in the Amazon Rekognition Developer Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
S3Object.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
bucket()
Name of the S3 bucket.
|
static S3Object.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
S3 object key name.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3Object.Builder> |
serializableBuilderClass() |
S3Object.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
version()
If the bucket is versioning enabled, you can specify the object version.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String bucket()
Name of the S3 bucket.
public final String name()
S3 object key name.
public final String version()
If the bucket is versioning enabled, you can specify the object version.
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 © 2021. All rights reserved.