public static interface CORSConfiguration.Builder extends SdkPojo, CopyableBuilder<CORSConfiguration.Builder,CORSConfiguration>
| Modifier and Type | Method and Description |
|---|---|
CORSConfiguration.Builder |
corsRules(Collection<CORSRule> corsRules)
A set of origins and methods (cross-origin access that you want to allow).
|
CORSConfiguration.Builder |
corsRules(Consumer<CORSRule.Builder>... corsRules)
A set of origins and methods (cross-origin access that you want to allow).
|
CORSConfiguration.Builder |
corsRules(CORSRule... corsRules)
A set of origins and methods (cross-origin access that you want to allow).
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCORSConfiguration.Builder corsRules(Collection<CORSRule> corsRules)
A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.
corsRules - A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules
to the configuration.CORSConfiguration.Builder corsRules(CORSRule... corsRules)
A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.
corsRules - A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules
to the configuration.CORSConfiguration.Builder corsRules(Consumer<CORSRule.Builder>... corsRules)
A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.
This is a convenience 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 #corsRules(List) .corsRules - a consumer that will call methods on List.Builder #corsRules(List) Copyright © 2022. All rights reserved.