Class S3Location
- java.lang.Object
-
- software.amazon.awssdk.services.codedeploy.model.S3Location
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<S3Location.Builder,S3Location>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceS3Location.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbucket()The name of the Amazon S3 bucket where the application revision is stored.static S3Location.Builderbuilder()BundleTypebundleType()The file type of the application revision.StringbundleTypeAsString()The file type of the application revision.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringeTag()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)inthashCode()Stringkey()The name of the Amazon S3 object that represents the bundled artifacts for the application revision.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends S3Location.Builder>serializableBuilderClass()S3Location.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringversion()A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision.-
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()
The name of the Amazon S3 bucket where the application revision is stored.
- Returns:
- The name of the Amazon S3 bucket where the application revision is stored.
-
key
public final String key()
The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
- Returns:
- The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
-
bundleType
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. -
YAML: A YAML-formatted file. -
JSON: A JSON-formatted file.
If the service returns an enum value that is not available in the current SDK version,
bundleTypewill returnBundleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombundleTypeAsString().- Returns:
- 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. -
YAML: A YAML-formatted file. -
JSON: A JSON-formatted file.
-
- See Also:
BundleType
-
-
bundleTypeAsString
public 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. -
YAML: A YAML-formatted file. -
JSON: A JSON-formatted file.
If the service returns an enum value that is not available in the current SDK version,
bundleTypewill returnBundleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombundleTypeAsString().- Returns:
- 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. -
YAML: A YAML-formatted file. -
JSON: A JSON-formatted file.
-
- See Also:
BundleType
-
-
version
public 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.
- Returns:
- 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.
-
eTag
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.
- Returns:
- 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.
-
toBuilder
public S3Location.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3Location.Builder,S3Location>
-
builder
public static S3Location.Builder builder()
-
serializableBuilderClass
public static Class<? extends S3Location.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-