@Generated(value="software.amazon.awssdk:codegen") public class S3Location extends Object implements StructuredPojo, 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 |
bundleTypeString()
The file type of the application revision.
|
boolean |
equals(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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends S3Location.Builder> |
serializableBuilderClass() |
S3Location.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
version()
A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision.
|
copy
public String bucket()
The name of the Amazon S3 bucket where the application revision is stored.
public String key()
The name of the Amazon S3 object that represents the bundled artifacts for the application revision.
public 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
bundleTypeString()
.
tar: A tar archive file.
tgz: A compressed tar archive file.
zip: A zip archive file.
BundleType
public String bundleTypeString()
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
bundleTypeString()
.
tar: A tar archive file.
tgz: A compressed tar archive file.
zip: A zip archive file.
BundleType
public 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 will use the most recent version by default.
If the version is not specified, the system will use the most recent version by default.
public 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 will be skipped.
If the ETag is not specified as an input parameter, ETag validation of the object will be skipped.
public S3Location.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<S3Location.Builder,S3Location>
public static S3Location.Builder builder()
public static Class<? extends S3Location.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.