public static interface RestoreObjectRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<RestoreObjectRequest.Builder,RestoreObjectRequest>
Modifier and Type | Method and Description |
---|---|
RestoreObjectRequest.Builder |
bucket(String bucket)
Sets the value of the Bucket property for this object.
|
RestoreObjectRequest.Builder |
key(String key)
Sets the value of the Key property for this object.
|
RestoreObjectRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
RestoreObjectRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
RestoreObjectRequest.Builder |
requestPayer(RequestPayer requestPayer)
Sets the value of the RequestPayer property for this object.
|
RestoreObjectRequest.Builder |
requestPayer(String requestPayer)
Sets the value of the RequestPayer property for this object.
|
default RestoreObjectRequest.Builder |
restoreRequest(Consumer<RestoreRequest.Builder> restoreRequest)
Sets the value of the RestoreRequest property for this object.
|
RestoreObjectRequest.Builder |
restoreRequest(RestoreRequest restoreRequest)
Sets the value of the RestoreRequest property for this object.
|
RestoreObjectRequest.Builder |
versionId(String versionId)
Sets the value of the VersionId property for this object.
|
build
overrideConfiguration
copy
applyMutation, build
RestoreObjectRequest.Builder bucket(String bucket)
bucket
- The new value for the Bucket property for this object.RestoreObjectRequest.Builder key(String key)
key
- The new value for the Key property for this object.RestoreObjectRequest.Builder versionId(String versionId)
versionId
- The new value for the VersionId property for this object.RestoreObjectRequest.Builder restoreRequest(RestoreRequest restoreRequest)
restoreRequest
- The new value for the RestoreRequest property for this object.default RestoreObjectRequest.Builder restoreRequest(Consumer<RestoreRequest.Builder> restoreRequest)
RestoreRequest.Builder
avoiding the need to
create one manually via RestoreRequest.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to restoreRequest(RestoreRequest)
.restoreRequest
- a consumer that will call methods on RestoreRequest.Builder
restoreRequest(RestoreRequest)
RestoreObjectRequest.Builder requestPayer(String requestPayer)
requestPayer
- The new value for the RequestPayer property for this object.RequestPayer
,
RequestPayer
RestoreObjectRequest.Builder requestPayer(RequestPayer requestPayer)
requestPayer
- The new value for the RequestPayer property for this object.RequestPayer
,
RequestPayer
RestoreObjectRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
RestoreObjectRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2019. All rights reserved.