@Generated(value="software.amazon.awssdk:codegen") public final class UpdatePolicyDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UpdatePolicyDefinition.Builder,UpdatePolicyDefinition>
Contains information about updates to be applied to a policy.
This data type is used as a request parameter in the UpdatePolicy operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdatePolicyDefinition.Builder |
static class |
UpdatePolicyDefinition.Type |
| Modifier and Type | Method and Description |
|---|---|
static UpdatePolicyDefinition.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static UpdatePolicyDefinition |
fromStaticValue(Consumer<UpdateStaticPolicyDefinition.Builder> staticValue)
Create an instance of this class with
staticValue() initialized to the given value. |
static UpdatePolicyDefinition |
fromStaticValue(UpdateStaticPolicyDefinition staticValue)
Create an instance of this class with
staticValue() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdatePolicyDefinition.Builder> |
serializableBuilderClass() |
UpdateStaticPolicyDefinition |
staticValue()
Contains details about the updates to be applied to a static policy.
|
UpdatePolicyDefinition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
UpdatePolicyDefinition.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final UpdateStaticPolicyDefinition staticValue()
Contains details about the updates to be applied to a static policy.
public UpdatePolicyDefinition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdatePolicyDefinition.Builder,UpdatePolicyDefinition>public static UpdatePolicyDefinition.Builder builder()
public static Class<? extends UpdatePolicyDefinition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static UpdatePolicyDefinition fromStaticValue(UpdateStaticPolicyDefinition staticValue)
staticValue() initialized to the given value.
Contains details about the updates to be applied to a static policy.
staticValue - Contains details about the updates to be applied to a static policy.public static UpdatePolicyDefinition fromStaticValue(Consumer<UpdateStaticPolicyDefinition.Builder> staticValue)
staticValue() initialized to the given value.
Contains details about the updates to be applied to a static policy.
staticValue - Contains details about the updates to be applied to a static policy.public UpdatePolicyDefinition.Type type()
UpdatePolicyDefinition.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be UpdatePolicyDefinition.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.