@Generated(value="software.amazon.awssdk:codegen") public class S3Object extends Object implements StructuredPojo, 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 manage-access-resource-policies.
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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
S3 object key name.
|
static Class<? extends S3Object.Builder> |
serializableBuilderClass() |
S3Object.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
version()
If the bucket is versioning enabled, you can specify the object version.
|
copy
public String bucket()
Name of the S3 bucket.
public String name()
S3 object key name.
public String version()
If the bucket is versioning enabled, you can specify the object version.
public S3Object.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<S3Object.Builder,S3Object>
public static S3Object.Builder builder()
public static Class<? extends S3Object.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.