Class SourceS3Location
- java.lang.Object
-
- software.amazon.awssdk.services.applicationcostprofiler.model.SourceS3Location
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SourceS3Location.Builder,SourceS3Location>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSourceS3Location.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbucket()Name of the bucket.static SourceS3Location.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringkey()Key of the object.S3BucketRegionregion()Region of the bucket.StringregionAsString()Region of the bucket.List<SdkField<?>>sdkFields()static Class<? extends SourceS3Location.Builder>serializableBuilderClass()SourceS3Location.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
bucket
public final String bucket()
Name of the bucket.
- Returns:
- Name of the bucket.
-
key
public final String key()
Key of the object.
- Returns:
- Key of the object.
-
region
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,
regionwill returnS3BucketRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromregionAsString().- Returns:
- 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.
- See Also:
S3BucketRegion
-
regionAsString
public 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,
regionwill returnS3BucketRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromregionAsString().- Returns:
- 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.
- See Also:
S3BucketRegion
-
toBuilder
public SourceS3Location.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SourceS3Location.Builder,SourceS3Location>
-
builder
public static SourceS3Location.Builder builder()
-
serializableBuilderClass
public static Class<? extends SourceS3Location.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-