Interface UpdatePolicyDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdatePolicyDefinition.Builder,,UpdatePolicyDefinition> SdkBuilder<UpdatePolicyDefinition.Builder,,UpdatePolicyDefinition> SdkPojo
- Enclosing class:
UpdatePolicyDefinition
public static interface UpdatePolicyDefinition.Builder
extends SdkPojo, CopyableBuilder<UpdatePolicyDefinition.Builder,UpdatePolicyDefinition>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdatePolicyDefinition.BuilderstaticValue(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaUpdateStaticPolicyDefinition.builder().When the
Consumercompletes,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:
-