Interface UpdateStaticPolicyDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdateStaticPolicyDefinition.Builder,,UpdateStaticPolicyDefinition> SdkBuilder<UpdateStaticPolicyDefinition.Builder,,UpdateStaticPolicyDefinition> SdkPojo
- Enclosing class:
UpdateStaticPolicyDefinition
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) Specifies the description to be added to or replaced on the static policy.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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.
-
-