Interface UpdateStaticPolicyDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UpdateStaticPolicyDefinition.Builder,UpdateStaticPolicyDefinition>,SdkBuilder<UpdateStaticPolicyDefinition.Builder,UpdateStaticPolicyDefinition>,SdkPojo
- Enclosing class:
- UpdateStaticPolicyDefinition
public static interface UpdateStaticPolicyDefinition.Builder extends SdkPojo, CopyableBuilder<UpdateStaticPolicyDefinition.Builder,UpdateStaticPolicyDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateStaticPolicyDefinition.Builderdescription(String description)Specifies the description to be added to or replaced on the static policy.UpdateStaticPolicyDefinition.Builderstatement(String statement)Specifies the Cedar policy language text to be added to or replaced on the 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, sdkFields
-
-
-
-
Method Detail
-
description
UpdateStaticPolicyDefinition.Builder description(String description)
Specifies the description to be added to or replaced on the static policy.
- Parameters:
description- Specifies the description to be added to or replaced on the static policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statement
UpdateStaticPolicyDefinition.Builder statement(String statement)
Specifies the Cedar policy language text to be added to or replaced on the static policy.
You can change only the following elements from the original content:
-
The
actionreferenced by the policy. -
Any conditional clauses, such as
whenorunlessclauses.
You can't change the following elements:
-
Changing from
StaticPolicytoTemplateLinkedPolicy. -
The effect (
permitorforbid) of the policy. -
The
principalreferenced by the policy. -
The
resourcereferenced by the policy.
- Parameters:
statement- Specifies the Cedar policy language text to be added to or replaced on the static policy.You can change only the following elements from the original content:
-
The
actionreferenced by the policy. -
Any conditional clauses, such as
whenorunlessclauses.
You can't change the following elements:
-
Changing from
StaticPolicytoTemplateLinkedPolicy. -
The effect (
permitorforbid) of the policy. -
The
principalreferenced by the policy. -
The
resourcereferenced by the policy.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
-