Interface UpdatePolicyDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UpdatePolicyDefinition.Builder,
,UpdatePolicyDefinition> SdkBuilder<UpdatePolicyDefinition.Builder,
,UpdatePolicyDefinition> SdkPojo
- Enclosing class:
UpdatePolicyDefinition
@Mutable
@NotThreadSafe
public static interface UpdatePolicyDefinition.Builder
extends SdkPojo, CopyableBuilder<UpdatePolicyDefinition.Builder,UpdatePolicyDefinition>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdatePolicyDefinition.Builder
staticValue
(Consumer<UpdateStaticPolicyDefinition.Builder> staticValue) Contains details about the updates to be applied to a static policy.staticValue
(UpdateStaticPolicyDefinition staticValue) Contains details about the updates to be applied to a static policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
staticValue
Contains details about the updates to be applied to a static policy.
- Parameters:
staticValue
- Contains details about the updates to be applied to a static policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
staticValue
default UpdatePolicyDefinition.Builder staticValue(Consumer<UpdateStaticPolicyDefinition.Builder> staticValue) Contains details about the updates to be applied to a static policy.
This is a convenience method that creates an instance of theUpdateStaticPolicyDefinition.Builder
avoiding the need to create one manually viaUpdateStaticPolicyDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostaticValue(UpdateStaticPolicyDefinition)
.- Parameters:
staticValue
- a consumer that will call methods onUpdateStaticPolicyDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-