@Generated(value="software.amazon.awssdk:codegen") public final class UpdateStaticPolicyDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UpdateStaticPolicyDefinition.Builder,UpdateStaticPolicyDefinition>
Contains information about an update to a static policy.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateStaticPolicyDefinition.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateStaticPolicyDefinition.Builder |
builder() |
String |
description()
Specifies the description to be added to or replaced on the static policy.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateStaticPolicyDefinition.Builder> |
serializableBuilderClass() |
String |
statement()
Specifies the Cedar policy language text to be added to or replaced on the static policy.
|
UpdateStaticPolicyDefinition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String description()
Specifies the description to be added to or replaced on the static policy.
public final 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 action referenced by the policy.
Any conditional clauses, such as when or unless clauses.
You can't change the following elements:
Changing from StaticPolicy to TemplateLinkedPolicy.
The effect (permit or forbid) of the policy.
The principal referenced by the policy.
The resource referenced by the policy.
You can change only the following elements from the original content:
The action referenced by the policy.
Any conditional clauses, such as when or unless clauses.
You can't change the following elements:
Changing from StaticPolicy to TemplateLinkedPolicy.
The effect (permit or forbid) of the policy.
The principal referenced by the policy.
The resource referenced by the policy.
public UpdateStaticPolicyDefinition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateStaticPolicyDefinition.Builder,UpdateStaticPolicyDefinition>public static UpdateStaticPolicyDefinition.Builder builder()
public static Class<? extends UpdateStaticPolicyDefinition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.