public static interface GeneratedPolicyResult.Builder extends SdkPojo, CopyableBuilder<GeneratedPolicyResult.Builder,GeneratedPolicyResult>
| Modifier and Type | Method and Description |
|---|---|
GeneratedPolicyResult.Builder |
generatedPolicies(Collection<GeneratedPolicy> generatedPolicies)
The text to use as the content for the new policy.
|
GeneratedPolicyResult.Builder |
generatedPolicies(Consumer<GeneratedPolicy.Builder>... generatedPolicies)
The text to use as the content for the new policy.
|
GeneratedPolicyResult.Builder |
generatedPolicies(GeneratedPolicy... generatedPolicies)
The text to use as the content for the new policy.
|
default GeneratedPolicyResult.Builder |
properties(Consumer<GeneratedPolicyProperties.Builder> properties)
A
GeneratedPolicyProperties object that contains properties of the generated policy. |
GeneratedPolicyResult.Builder |
properties(GeneratedPolicyProperties properties)
A
GeneratedPolicyProperties object that contains properties of the generated policy. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGeneratedPolicyResult.Builder properties(GeneratedPolicyProperties properties)
A GeneratedPolicyProperties object that contains properties of the generated policy.
properties - A GeneratedPolicyProperties object that contains properties of the generated policy.default GeneratedPolicyResult.Builder properties(Consumer<GeneratedPolicyProperties.Builder> properties)
A GeneratedPolicyProperties object that contains properties of the generated policy.
GeneratedPolicyProperties.Builder
avoiding the need to create one manually via GeneratedPolicyProperties.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to properties(GeneratedPolicyProperties).
properties - a consumer that will call methods on GeneratedPolicyProperties.Builderproperties(GeneratedPolicyProperties)GeneratedPolicyResult.Builder generatedPolicies(Collection<GeneratedPolicy> generatedPolicies)
The text to use as the content for the new policy. The policy is created using the CreatePolicy action.
generatedPolicies - The text to use as the content for the new policy. The policy is created using the CreatePolicy
action.GeneratedPolicyResult.Builder generatedPolicies(GeneratedPolicy... generatedPolicies)
The text to use as the content for the new policy. The policy is created using the CreatePolicy action.
generatedPolicies - The text to use as the content for the new policy. The policy is created using the CreatePolicy
action.GeneratedPolicyResult.Builder generatedPolicies(Consumer<GeneratedPolicy.Builder>... generatedPolicies)
The text to use as the content for the new policy. The policy is created using the CreatePolicy action.
This is a convenience method that creates an instance of theGeneratedPolicy.Builder avoiding the need to
create one manually via
GeneratedPolicy.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #generatedPolicies(List.
generatedPolicies - a consumer that will call methods on
GeneratedPolicy.Builder#generatedPolicies(java.util.Collection) Copyright © 2022. All rights reserved.