Class AutomatedReasoningPolicyTypeValueAnnotation
- java.lang.Object
-
- software.amazon.awssdk.services.bedrock.model.AutomatedReasoningPolicyTypeValueAnnotation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutomatedReasoningPolicyTypeValueAnnotation.Builder,AutomatedReasoningPolicyTypeValueAnnotation>
@Generated("software.amazon.awssdk:codegen") public final class AutomatedReasoningPolicyTypeValueAnnotation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutomatedReasoningPolicyTypeValueAnnotation.Builder,AutomatedReasoningPolicyTypeValueAnnotation>
An annotation for managing values within custom types, including adding, updating, or removing specific type values.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAutomatedReasoningPolicyTypeValueAnnotation.Builderstatic classAutomatedReasoningPolicyTypeValueAnnotation.Type
-
Method Summary
-
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
-
addTypeValue
public final AutomatedReasoningPolicyAddTypeValue addTypeValue()
An operation to add a new value to an existing custom type.
- Returns:
- An operation to add a new value to an existing custom type.
-
updateTypeValue
public final AutomatedReasoningPolicyUpdateTypeValue updateTypeValue()
An operation to modify an existing value within a custom type.
- Returns:
- An operation to modify an existing value within a custom type.
-
deleteTypeValue
public final AutomatedReasoningPolicyDeleteTypeValue deleteTypeValue()
An operation to remove a value from an existing custom type.
- Returns:
- An operation to remove a value from an existing custom type.
-
toBuilder
public AutomatedReasoningPolicyTypeValueAnnotation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AutomatedReasoningPolicyTypeValueAnnotation.Builder,AutomatedReasoningPolicyTypeValueAnnotation>
-
builder
public static AutomatedReasoningPolicyTypeValueAnnotation.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutomatedReasoningPolicyTypeValueAnnotation.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.
-
fromAddTypeValue
public static AutomatedReasoningPolicyTypeValueAnnotation fromAddTypeValue(AutomatedReasoningPolicyAddTypeValue addTypeValue)
Create an instance of this class withaddTypeValue()initialized to the given value.An operation to add a new value to an existing custom type.
- Parameters:
addTypeValue- An operation to add a new value to an existing custom type.
-
fromAddTypeValue
public static AutomatedReasoningPolicyTypeValueAnnotation fromAddTypeValue(Consumer<AutomatedReasoningPolicyAddTypeValue.Builder> addTypeValue)
Create an instance of this class withaddTypeValue()initialized to the given value.An operation to add a new value to an existing custom type.
- Parameters:
addTypeValue- An operation to add a new value to an existing custom type.
-
fromUpdateTypeValue
public static AutomatedReasoningPolicyTypeValueAnnotation fromUpdateTypeValue(AutomatedReasoningPolicyUpdateTypeValue updateTypeValue)
Create an instance of this class withupdateTypeValue()initialized to the given value.An operation to modify an existing value within a custom type.
- Parameters:
updateTypeValue- An operation to modify an existing value within a custom type.
-
fromUpdateTypeValue
public static AutomatedReasoningPolicyTypeValueAnnotation fromUpdateTypeValue(Consumer<AutomatedReasoningPolicyUpdateTypeValue.Builder> updateTypeValue)
Create an instance of this class withupdateTypeValue()initialized to the given value.An operation to modify an existing value within a custom type.
- Parameters:
updateTypeValue- An operation to modify an existing value within a custom type.
-
fromDeleteTypeValue
public static AutomatedReasoningPolicyTypeValueAnnotation fromDeleteTypeValue(AutomatedReasoningPolicyDeleteTypeValue deleteTypeValue)
Create an instance of this class withdeleteTypeValue()initialized to the given value.An operation to remove a value from an existing custom type.
- Parameters:
deleteTypeValue- An operation to remove a value from an existing custom type.
-
fromDeleteTypeValue
public static AutomatedReasoningPolicyTypeValueAnnotation fromDeleteTypeValue(Consumer<AutomatedReasoningPolicyDeleteTypeValue.Builder> deleteTypeValue)
Create an instance of this class withdeleteTypeValue()initialized to the given value.An operation to remove a value from an existing custom type.
- Parameters:
deleteTypeValue- An operation to remove a value from an existing custom type.
-
type
public AutomatedReasoningPolicyTypeValueAnnotation.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beAutomatedReasoningPolicyTypeValueAnnotation.Type.UNKNOWN_TO_SDK_VERSIONif 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 beAutomatedReasoningPolicyTypeValueAnnotation.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-