public static interface OriginRequestPolicySummary.Builder extends SdkPojo, CopyableBuilder<OriginRequestPolicySummary.Builder,OriginRequestPolicySummary>
Modifier and Type | Method and Description |
---|---|
default OriginRequestPolicySummary.Builder |
originRequestPolicy(Consumer<OriginRequestPolicy.Builder> originRequestPolicy)
The origin request policy.
|
OriginRequestPolicySummary.Builder |
originRequestPolicy(OriginRequestPolicy originRequestPolicy)
The origin request policy.
|
OriginRequestPolicySummary.Builder |
type(OriginRequestPolicyType type)
The type of origin request policy, either
managed (created by AWS) or custom
(created in this AWS account). |
OriginRequestPolicySummary.Builder |
type(String type)
The type of origin request policy, either
managed (created by AWS) or custom
(created in this AWS account). |
equalsBySdkFields, sdkFields
copy
applyMutation, build
OriginRequestPolicySummary.Builder type(String type)
The type of origin request policy, either managed
(created by AWS) or custom
(created in this AWS account).
type
- The type of origin request policy, either managed
(created by AWS) or custom
(created in this AWS account).OriginRequestPolicyType
,
OriginRequestPolicyType
OriginRequestPolicySummary.Builder type(OriginRequestPolicyType type)
The type of origin request policy, either managed
(created by AWS) or custom
(created in this AWS account).
type
- The type of origin request policy, either managed
(created by AWS) or custom
(created in this AWS account).OriginRequestPolicyType
,
OriginRequestPolicyType
OriginRequestPolicySummary.Builder originRequestPolicy(OriginRequestPolicy originRequestPolicy)
The origin request policy.
originRequestPolicy
- The origin request policy.default OriginRequestPolicySummary.Builder originRequestPolicy(Consumer<OriginRequestPolicy.Builder> originRequestPolicy)
The origin request policy.
This is a convenience that creates an instance of theOriginRequestPolicy.Builder
avoiding the need
to create one manually via OriginRequestPolicy.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to originRequestPolicy(OriginRequestPolicy)
.originRequestPolicy
- a consumer that will call methods on OriginRequestPolicy.Builder
originRequestPolicy(OriginRequestPolicy)
Copyright © 2021. All rights reserved.