public CreatePromptRequest withClientToken(String clientToken) {
        setClientToken(clientToken);
        return this;
    }
<p>
A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token
matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more
information, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
idempotency</a>.
</p>

@param clientToken
       A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If
       this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
       For more information, see <a
       href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring
       idempotency</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/CreatePromptRequest.java