Interface Assertion.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Assertion.Builder,,Assertion> SdkBuilder<Assertion.Builder,,Assertion> SdkPojo
- Enclosing class:
Assertion
@Mutable
@NotThreadSafe
public static interface Assertion.Builder
extends SdkPojo, CopyableBuilder<Assertion.Builder,Assertion>
-
Method Summary
Modifier and TypeMethodDescriptionassertionId(String assertionId) The unique identifier of the assertion.The timestamp when the assertion was created.serviceArn(String serviceArn) Sets the value of the ServiceArn property for this object.The source of the assertion, indicating whether it was AI-generated or created by a user.source(AssertionSource source) The source of the assertion, indicating whether it was AI-generated or created by a user.The text content of the assertion.The timestamp when the assertion was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
serviceArn
Sets the value of the ServiceArn property for this object.- Parameters:
serviceArn- The new value for the ServiceArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assertionId
The unique identifier of the assertion.
- Parameters:
assertionId- The unique identifier of the assertion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
text
The text content of the assertion.
- Parameters:
text- The text content of the assertion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source of the assertion, indicating whether it was AI-generated or created by a user.
- Parameters:
source- The source of the assertion, indicating whether it was AI-generated or created by a user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
source
The source of the assertion, indicating whether it was AI-generated or created by a user.
- Parameters:
source- The source of the assertion, indicating whether it was AI-generated or created by a user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the assertion was created.
- Parameters:
createdAt- The timestamp when the assertion was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the assertion was last updated.
- Parameters:
updatedAt- The timestamp when the assertion was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-