Class UpdateStaticPolicyDefinition
- java.lang.Object
-
- software.amazon.awssdk.services.verifiedpermissions.model.UpdateStaticPolicyDefinition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UpdateStaticPolicyDefinition.Builder,UpdateStaticPolicyDefinition>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateStaticPolicyDefinition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateStaticPolicyDefinition.Builderbuilder()Stringdescription()Specifies the description to be added to or replaced on the static policy.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends UpdateStaticPolicyDefinition.Builder>serializableBuilderClass()Stringstatement()Specifies the Cedar policy language text to be added to or replaced on the static policy.UpdateStaticPolicyDefinition.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
description
public final String description()
Specifies the description to be added to or replaced on the static policy.
- Returns:
- Specifies the description to be added to or replaced on the static policy.
-
statement
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
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:
- 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.
-
-
-
toBuilder
public UpdateStaticPolicyDefinition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateStaticPolicyDefinition.Builder,UpdateStaticPolicyDefinition>
-
builder
public static UpdateStaticPolicyDefinition.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateStaticPolicyDefinition.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-