Interface DescribeObjectResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeObjectResponse.Builder,
,DescribeObjectResponse> MediaStoreDataResponse.Builder
,SdkBuilder<DescribeObjectResponse.Builder,
,DescribeObjectResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeObjectResponse
public static interface DescribeObjectResponse.Builder
extends MediaStoreDataResponse.Builder, SdkPojo, CopyableBuilder<DescribeObjectResponse.Builder,DescribeObjectResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncacheControl
(String cacheControl) An optionalCacheControl
header that allows the caller to control the object's cache behavior.contentLength
(Long contentLength) The length of the object in bytes.contentType
(String contentType) The content type of the object.The ETag that represents a unique instance of the object.lastModified
(Instant lastModified) The date and time that the object was last modified.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mediastoredata.model.MediaStoreDataResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
eTag
The ETag that represents a unique instance of the object.
- Parameters:
eTag
- The ETag that represents a unique instance of the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
The content type of the object.
- Parameters:
contentType
- The content type of the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentLength
The length of the object in bytes.
- Parameters:
contentLength
- The length of the object in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
cacheControl
- An optionalCacheControl
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModified
The date and time that the object was last modified.
- Parameters:
lastModified
- The date and time that the object was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-