@Generated(value="software.amazon.awssdk:codegen") public final class S3Resource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3Resource.Builder,S3Resource>
Contains information about the S3 resource. This data type is used as a request parameter in the DisassociateS3Resources action and can be used as a response parameter in the AssociateS3Resources and UpdateS3Resources actions.
Modifier and Type | Class and Description |
---|---|
static interface |
S3Resource.Builder |
Modifier and Type | Method and Description |
---|---|
String |
bucketName()
The name of the S3 bucket.
|
static S3Resource.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
prefix()
The prefix of the S3 bucket.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3Resource.Builder> |
serializableBuilderClass() |
S3Resource.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String bucketName()
The name of the S3 bucket.
public String prefix()
The prefix of the S3 bucket.
public S3Resource.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<S3Resource.Builder,S3Resource>
public static S3Resource.Builder builder()
public static Class<? extends S3Resource.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.