Class UpdateAutomatedReasoningPolicyTestCaseRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.bedrock.model.BedrockRequest
-
- software.amazon.awssdk.services.bedrock.model.UpdateAutomatedReasoningPolicyTestCaseRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateAutomatedReasoningPolicyTestCaseRequest.Builder,UpdateAutomatedReasoningPolicyTestCaseRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateAutomatedReasoningPolicyTestCaseRequest extends BedrockRequest implements ToCopyableBuilder<UpdateAutomatedReasoningPolicyTestCaseRequest.Builder,UpdateAutomatedReasoningPolicyTestCaseRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateAutomatedReasoningPolicyTestCaseRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateAutomatedReasoningPolicyTestCaseRequest.Builderbuilder()StringclientRequestToken()A unique, case-sensitive identifier to ensure that the operation completes no more than one time.DoubleconfidenceThreshold()The updated minimum confidence level for logic validation.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)AutomatedReasoningCheckResultexpectedAggregatedFindingsResult()The updated expected result of the Automated Reasoning check.StringexpectedAggregatedFindingsResultAsString()The updated expected result of the Automated Reasoning check.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringguardContent()The updated content to be validated by the Automated Reasoning policy.inthashCode()InstantlastUpdatedAt()The timestamp when the test was last updated.StringpolicyArn()The Amazon Resource Name (ARN) of the Automated Reasoning policy that contains the test.StringqueryContent()The updated input query or prompt that generated the content.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateAutomatedReasoningPolicyTestCaseRequest.Builder>serializableBuilderClass()StringtestCaseId()The unique identifier of the test to update.UpdateAutomatedReasoningPolicyTestCaseRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
policyArn
public final String policyArn()
The Amazon Resource Name (ARN) of the Automated Reasoning policy that contains the test.
- Returns:
- The Amazon Resource Name (ARN) of the Automated Reasoning policy that contains the test.
-
testCaseId
public final String testCaseId()
The unique identifier of the test to update.
- Returns:
- The unique identifier of the test to update.
-
guardContent
public final String guardContent()
The updated content to be validated by the Automated Reasoning policy.
- Returns:
- The updated content to be validated by the Automated Reasoning policy.
-
queryContent
public final String queryContent()
The updated input query or prompt that generated the content.
- Returns:
- The updated input query or prompt that generated the content.
-
lastUpdatedAt
public final Instant lastUpdatedAt()
The timestamp when the test was last updated. This is used as a concurrency token to prevent conflicting modifications.
- Returns:
- The timestamp when the test was last updated. This is used as a concurrency token to prevent conflicting modifications.
-
expectedAggregatedFindingsResult
public final AutomatedReasoningCheckResult expectedAggregatedFindingsResult()
The updated expected result of the Automated Reasoning check.
If the service returns an enum value that is not available in the current SDK version,
expectedAggregatedFindingsResultwill returnAutomatedReasoningCheckResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexpectedAggregatedFindingsResultAsString().- Returns:
- The updated expected result of the Automated Reasoning check.
- See Also:
AutomatedReasoningCheckResult
-
expectedAggregatedFindingsResultAsString
public final String expectedAggregatedFindingsResultAsString()
The updated expected result of the Automated Reasoning check.
If the service returns an enum value that is not available in the current SDK version,
expectedAggregatedFindingsResultwill returnAutomatedReasoningCheckResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexpectedAggregatedFindingsResultAsString().- Returns:
- The updated expected result of the Automated Reasoning check.
- See Also:
AutomatedReasoningCheckResult
-
confidenceThreshold
public final Double confidenceThreshold()
The updated minimum confidence level for logic validation. If null is provided, the threshold will be removed.
- Returns:
- The updated minimum confidence level for logic validation. If null is provided, the threshold will be removed.
-
clientRequestToken
public final String clientRequestToken()
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
- Returns:
- A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
-
toBuilder
public UpdateAutomatedReasoningPolicyTestCaseRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateAutomatedReasoningPolicyTestCaseRequest.Builder,UpdateAutomatedReasoningPolicyTestCaseRequest>- Specified by:
toBuilderin classBedrockRequest
-
builder
public static UpdateAutomatedReasoningPolicyTestCaseRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateAutomatedReasoningPolicyTestCaseRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-