public static interface GetCorsPolicyResponse.Builder extends MediaStoreResponse.Builder, SdkPojo, CopyableBuilder<GetCorsPolicyResponse.Builder,GetCorsPolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
GetCorsPolicyResponse.Builder |
corsPolicy(Collection<CorsRule> corsPolicy)
The CORS policy assigned to the container.
|
GetCorsPolicyResponse.Builder |
corsPolicy(Consumer<CorsRule.Builder>... corsPolicy)
The CORS policy assigned to the container.
|
GetCorsPolicyResponse.Builder |
corsPolicy(CorsRule... corsPolicy)
The CORS policy assigned to the container.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetCorsPolicyResponse.Builder corsPolicy(Collection<CorsRule> corsPolicy)
The CORS policy assigned to the container.
corsPolicy - The CORS policy assigned to the container.GetCorsPolicyResponse.Builder corsPolicy(CorsRule... corsPolicy)
The CORS policy assigned to the container.
corsPolicy - The CORS policy assigned to the container.GetCorsPolicyResponse.Builder corsPolicy(Consumer<CorsRule.Builder>... corsPolicy)
The CORS policy assigned to the container.
This is a convenience method that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #corsPolicy(List) .corsPolicy - a consumer that will call methods on List.Builder #corsPolicy(List) Copyright © 2022. All rights reserved.