public static interface RestoreObjectRequest.Builder extends S3Request.Builder, 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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
RestoreObjectRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
buildrequestOverrideConfigcopyapply, buildRestoreObjectRequest.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.BuilderrestoreRequest(RestoreRequest)RestoreObjectRequest.Builder requestPayer(String requestPayer)
requestPayer - The new value for the RequestPayer property for this object.RequestPayer,
RequestPayerRestoreObjectRequest.Builder requestPayer(RequestPayer requestPayer)
requestPayer - The new value for the RequestPayer property for this object.RequestPayer,
RequestPayerRestoreObjectRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.RestoreObjectRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.