@Generated(value="software.amazon.awssdk:codegen") public final class SourceS3Location extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceS3Location.Builder,SourceS3Location>
Represents the Amazon Simple Storage Service (Amazon S3) location where usage data is read from.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SourceS3Location.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
bucket()
Name of the bucket.
|
static SourceS3Location.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
Key of the object.
|
S3BucketRegion |
region()
Region of the bucket.
|
String |
regionAsString()
Region of the bucket.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SourceS3Location.Builder> |
serializableBuilderClass() |
SourceS3Location.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String bucket()
Name of the bucket.
public final String key()
Key of the object.
public final S3BucketRegion region()
Region of the bucket. Only required for Regions that are disabled by default. For more infomration about Regions that are disabled by default, see Enabling a Region in the AWS General Reference guide.
If the service returns an enum value that is not available in the current SDK version, region will
return S3BucketRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
regionAsString().
S3BucketRegionpublic final String regionAsString()
Region of the bucket. Only required for Regions that are disabled by default. For more infomration about Regions that are disabled by default, see Enabling a Region in the AWS General Reference guide.
If the service returns an enum value that is not available in the current SDK version, region will
return S3BucketRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
regionAsString().
S3BucketRegionpublic SourceS3Location.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SourceS3Location.Builder,SourceS3Location>public static SourceS3Location.Builder builder()
public static Class<? extends SourceS3Location.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.