@Generated(value="software.amazon.awssdk:codegen") public final class S3Location extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3Location.Builder,S3Location>
Information about the location of application artifacts stored in Amazon S3.
| Modifier and Type | Class and Description |
|---|---|
static interface |
S3Location.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
bucket()
The name of the Amazon S3 bucket where the application revision is stored.
|
static S3Location.Builder |
builder() |
BundleType |
bundleType()
The file type of the application revision.
|
String |
bundleTypeAsString()
The file type of the application revision.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
eTag()
The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3Location.Builder> |
serializableBuilderClass() |
S3Location.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
version()
A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String bucket()
The name of the Amazon S3 bucket where the application revision is stored.
public final String key()
The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
public final BundleType bundleType()
The file type of the application revision. Must be one of the following:
tar: A tar archive file.
tgz: A compressed tar archive file.
zip: A zip archive file.
If the service returns an enum value that is not available in the current SDK version, bundleType will
return BundleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
bundleTypeAsString().
tar: A tar archive file.
tgz: A compressed tar archive file.
zip: A zip archive file.
BundleTypepublic final String bundleTypeAsString()
The file type of the application revision. Must be one of the following:
tar: A tar archive file.
tgz: A compressed tar archive file.
zip: A zip archive file.
If the service returns an enum value that is not available in the current SDK version, bundleType will
return BundleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
bundleTypeAsString().
tar: A tar archive file.
tgz: A compressed tar archive file.
zip: A zip archive file.
BundleTypepublic final String version()
A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision.
If the version is not specified, the system uses the most recent version by default.
If the version is not specified, the system uses the most recent version by default.
public final String eTag()
The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision.
If the ETag is not specified as an input parameter, ETag validation of the object is skipped.
If the ETag is not specified as an input parameter, ETag validation of the object is skipped.
public S3Location.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<S3Location.Builder,S3Location>public static S3Location.Builder builder()
public static Class<? extends S3Location.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.