public static interface ResetDistributionCacheResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<ResetDistributionCacheResponse.Builder,ResetDistributionCacheResponse>
Modifier and Type | Method and Description |
---|---|
ResetDistributionCacheResponse.Builder |
createTime(Instant createTime)
The timestamp of the reset cache request (e.g.,
1479734909.17 ) in Unix time format. |
default ResetDistributionCacheResponse.Builder |
operation(Consumer<Operation.Builder> operation)
An array of objects that describe the result of the action, such as the status of the request, the timestamp
of the request, and the resources affected by the request.
|
ResetDistributionCacheResponse.Builder |
operation(Operation operation)
An array of objects that describe the result of the action, such as the status of the request, the timestamp
of the request, and the resources affected by the request.
|
ResetDistributionCacheResponse.Builder |
status(String status)
The status of the reset cache request.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ResetDistributionCacheResponse.Builder status(String status)
The status of the reset cache request.
status
- The status of the reset cache request.ResetDistributionCacheResponse.Builder createTime(Instant createTime)
The timestamp of the reset cache request (e.g., 1479734909.17
) in Unix time format.
createTime
- The timestamp of the reset cache request (e.g., 1479734909.17
) in Unix time format.ResetDistributionCacheResponse.Builder operation(Operation operation)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
operation
- An array of objects that describe the result of the action, such as the status of the request, the
timestamp of the request, and the resources affected by the request.default ResetDistributionCacheResponse.Builder operation(Consumer<Operation.Builder> operation)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
This is a convenience that creates an instance of theOperation.Builder
avoiding the need to create
one manually via Operation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to operation(Operation)
.operation
- a consumer that will call methods on Operation.Builder
operation(Operation)