@Generated(value="software.amazon.awssdk:codegen") public final class S3Configuration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3Configuration.Builder,S3Configuration>
Provides a description of an Amazon S3 data source, including the Amazon Resource Name (ARN) of the S3 bucket, the ARN of the IAM role that is used to access the bucket, and the name of the Amazon S3 object that contains the data.
Modifier and Type | Class and Description |
---|---|
static interface |
S3Configuration.Builder |
Modifier and Type | Method and Description |
---|---|
String |
bucketARN()
ARN of the S3 bucket that contains the data.
|
static S3Configuration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
String |
fileKey()
The name of the object that contains the data.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
roleARN()
IAM ARN of the role used to access the data.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3Configuration.Builder> |
serializableBuilderClass() |
S3Configuration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final String roleARN()
IAM ARN of the role used to access the data.
public final String bucketARN()
ARN of the S3 bucket that contains the data.
public final String fileKey()
The name of the object that contains the data.
public S3Configuration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<S3Configuration.Builder,S3Configuration>
public static S3Configuration.Builder builder()
public static Class<? extends S3Configuration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.