public static interface PutBucketCorsRequest.Builder extends S3Request.Builder, CopyableBuilder<PutBucketCorsRequest.Builder,PutBucketCorsRequest>
| Modifier and Type | Method and Description |
|---|---|
PutBucketCorsRequest.Builder |
bucket(String bucket)
Sets the value of the Bucket property for this object.
|
PutBucketCorsRequest.Builder |
contentMD5(String contentMD5)
Sets the value of the ContentMD5 property for this object.
|
default PutBucketCorsRequest.Builder |
corsConfiguration(Consumer<CORSConfiguration.Builder> corsConfiguration)
Sets the value of the CORSConfiguration property for this object.
|
PutBucketCorsRequest.Builder |
corsConfiguration(CORSConfiguration corsConfiguration)
Sets the value of the CORSConfiguration property for this object.
|
PutBucketCorsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
PutBucketCorsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildPutBucketCorsRequest.Builder bucket(String bucket)
bucket - The new value for the Bucket property for this object.PutBucketCorsRequest.Builder corsConfiguration(CORSConfiguration corsConfiguration)
corsConfiguration - The new value for the CORSConfiguration property for this object.default PutBucketCorsRequest.Builder corsConfiguration(Consumer<CORSConfiguration.Builder> corsConfiguration)
CORSConfiguration.Builder avoiding the need to
create one manually via CORSConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to corsConfiguration(CORSConfiguration).corsConfiguration - a consumer that will call methods on CORSConfiguration.BuildercorsConfiguration(CORSConfiguration)PutBucketCorsRequest.Builder contentMD5(String contentMD5)
contentMD5 - The new value for the ContentMD5 property for this object.PutBucketCorsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.PutBucketCorsRequest.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.