public static interface DescribeObjectResponse.Builder extends MediaStoreDataResponse.Builder, SdkPojo, CopyableBuilder<DescribeObjectResponse.Builder,DescribeObjectResponse>
Modifier and Type | Method and Description |
---|---|
DescribeObjectResponse.Builder |
cacheControl(String cacheControl)
An optional
CacheControl header that allows the caller to control the object's cache behavior. |
DescribeObjectResponse.Builder |
contentLength(Long contentLength)
The length of the object in bytes.
|
DescribeObjectResponse.Builder |
contentType(String contentType)
The content type of the object.
|
DescribeObjectResponse.Builder |
eTag(String eTag)
The ETag that represents a unique instance of the object.
|
DescribeObjectResponse.Builder |
lastModified(Instant lastModified)
The date and time that the object was last modified.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeObjectResponse.Builder eTag(String eTag)
The ETag that represents a unique instance of the object.
eTag
- The ETag that represents a unique instance of the object.DescribeObjectResponse.Builder contentType(String contentType)
The content type of the object.
contentType
- The content type of the object.DescribeObjectResponse.Builder contentLength(Long contentLength)
The length of the object in bytes.
contentLength
- The length of the object in bytes.DescribeObjectResponse.Builder cacheControl(String cacheControl)
An optional CacheControl
header that allows the caller to control the object's cache behavior.
Headers can be passed in as specified in the HTTP at https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.
Headers with a custom user-defined value are also accepted.
cacheControl
- An optional CacheControl
header that allows the caller to control the object's cache
behavior. Headers can be passed in as specified in the HTTP at https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.
Headers with a custom user-defined value are also accepted.
DescribeObjectResponse.Builder lastModified(Instant lastModified)
The date and time that the object was last modified.
lastModified
- The date and time that the object was last modified.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.