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
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
-
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
action
referenced by the policy. -
Any conditional clauses, such as
when
orunless
clauses.
You can't change the following elements:
-
Changing from
StaticPolicy
toTemplateLinkedPolicy
. -
The effect (
permit
orforbid
) of the policy. -
The
principal
referenced by the policy. -
The
resource
referenced 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
action
referenced by the policy. -
Any conditional clauses, such as
when
orunless
clauses.
You can't change the following elements:
-
Changing from
StaticPolicy
toTemplateLinkedPolicy
. -
The effect (
permit
orforbid
) of the policy. -
The
principal
referenced by the policy. -
The
resource
referenced by the policy.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-