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 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 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 #generatedPolicies(List) .generatedPolicies - a consumer that will call methods on List.Builder #generatedPolicies(List) GeneratedPolicyResult.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)Copyright © 2021. All rights reserved.