@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.
|
Boolean |
bucketKeyEnabled()
Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with AWS KMS (SSE-KMS).
|
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.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String location()
The URI that identifies the newly created object.
public final String bucket()
The name of the bucket that contains the newly created object.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon S3 User Guide.
When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this action using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon S3 User Guide.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the AWS SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using Access Points in the Amazon S3 User Guide.
When using this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When using this action using S3 on Outposts through the AWS SDKs, you provide the Outposts bucket ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see Using S3 on Outposts in the Amazon S3 User Guide.
public final String key()
The object key of the newly created object.
public final 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 final 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 final 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()
.
ServerSideEncryption
public final 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()
.
ServerSideEncryption
public final String versionId()
Version ID of the newly created object, in case the bucket has versioning turned on.
public final 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 final Boolean bucketKeyEnabled()
Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with AWS KMS (SSE-KMS).
public final 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()
.
RequestCharged
public final 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()
.
RequestCharged
public CompleteMultipartUploadResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CompleteMultipartUploadResponse.Builder,CompleteMultipartUploadResponse>
toBuilder
in class AwsResponse
public static CompleteMultipartUploadResponse.Builder builder()
public static Class<? extends CompleteMultipartUploadResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2021. All rights reserved.