public CreateIndexRequest withClientToken(String clientToken) {
        setClientToken(clientToken);
        return this;
    }
<p>
This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental creation of
duplicate versions. We recommend that you generate a <a
href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID-type value</a> to ensure the uniqueness of
your index.
</p>

@param clientToken
       This value helps ensure idempotency. Resource Explorer uses this value to prevent the accidental creation
       of duplicate versions. We recommend that you generate a <a
       href="https://wikipedia.org/wiki/Universally_unique_identifier">UUID-type value</a> to ensure the
       uniqueness of your index.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-resourceexplorer2/src/main/java/com/amazonaws/services/resourceexplorer2/model/CreateIndexRequest.java