@Generated(value="software.amazon.awssdk:codegen") public final class CompleteMultipartUploadResponse extends S3Response implements ToCopyableBuilder<CompleteMultipartUploadResponse.Builder,CompleteMultipartUploadResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CompleteMultipartUploadResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
bucket()
The name of the bucket that contains the newly created object.
|
static CompleteMultipartUploadResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
eTag()
Entity tag that identifies the newly created object's data.
|
String |
expiration()
If the object expiration is configured, this will contain the expiration date (expiry-date) and rule ID
(rule-id).
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The object key of the newly created object.
|
String |
location()
The URI that identifies the newly created object.
|
RequestCharged |
requestCharged()
Returns the value of the RequestCharged property for this object.
|
String |
requestChargedAsString()
Returns the value of the RequestCharged property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CompleteMultipartUploadResponse.Builder> |
serializableBuilderClass() |
ServerSideEncryption |
serverSideEncryption()
If you specified server-side encryption either with an Amazon S3-managed encryption key or an AWS KMS customer
master key (CMK) in your initiate multipart upload request, the response includes this header.
|
String |
serverSideEncryptionAsString()
If you specified server-side encryption either with an Amazon S3-managed encryption key or an AWS KMS customer
master key (CMK) in your initiate multipart upload request, the response includes this header.
|
String |
ssekmsKeyId()
If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed customer
master key (CMK) that was used for the object.
|
CompleteMultipartUploadResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
versionId()
Version ID of the newly created object, in case the bucket has versioning turned on.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String location()
The URI that identifies the newly created object.
public String bucket()
The name of the bucket that contains the newly created object.
public String key()
The object key of the newly created object.
public String expiration()
If the object expiration is configured, this will contain the expiration date (expiry-date) and rule ID (rule-id). The value of rule-id is URL encoded.
public String eTag()
Entity tag that identifies the newly created object's data. Objects with different object data will have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal digits.
public ServerSideEncryption serverSideEncryption()
If you specified server-side encryption either with an Amazon S3-managed encryption key or an AWS KMS customer master key (CMK) in your initiate multipart upload request, the response includes this header. It confirms the encryption algorithm that Amazon S3 used to encrypt the object.
If the service returns an enum value that is not available in the current SDK version,
serverSideEncryption will return ServerSideEncryption.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from serverSideEncryptionAsString().
ServerSideEncryptionpublic String serverSideEncryptionAsString()
If you specified server-side encryption either with an Amazon S3-managed encryption key or an AWS KMS customer master key (CMK) in your initiate multipart upload request, the response includes this header. It confirms the encryption algorithm that Amazon S3 used to encrypt the object.
If the service returns an enum value that is not available in the current SDK version,
serverSideEncryption will return ServerSideEncryption.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from serverSideEncryptionAsString().
ServerSideEncryptionpublic String versionId()
Version ID of the newly created object, in case the bucket has versioning turned on.
public String ssekmsKeyId()
If present, specifies the ID of the AWS Key Management Service (AWS KMS) symmetric customer managed customer master key (CMK) that was used for the object.
public RequestCharged requestCharged()
If the service returns an enum value that is not available in the current SDK version, requestCharged
will return RequestCharged.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from requestChargedAsString().
RequestChargedpublic String requestChargedAsString()
If the service returns an enum value that is not available in the current SDK version, requestCharged
will return RequestCharged.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from requestChargedAsString().
RequestChargedpublic CompleteMultipartUploadResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CompleteMultipartUploadResponse.Builder,CompleteMultipartUploadResponse>toBuilder in class AwsResponsepublic static CompleteMultipartUploadResponse.Builder builder()
public static Class<? extends CompleteMultipartUploadResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.