public CreateResourceRequest withClientToken(String clientToken) {
        setClientToken(clientToken);
        return this;
    }
<p>
A unique identifier to ensure the idempotency of the resource request. As a best practice, specify this token to
ensure idempotency, so that Amazon Web Services Cloud Control API can accurately distinguish between request
retries and new resource requests. You might retry a resource request to ensure that it was successfully
received.
</p>
<p>
A client token is valid for 36 hours once used. After that, a resource request with the same client token is
treated as a new request.
</p>
<p>
If you do not specify a client token, one is generated for inclusion in the request.
</p>
<p>
For more information, see <a href=
"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-idempotency"
>Ensuring resource operation requests are unique</a> in the <i>Amazon Web Services Cloud Control API User
Guide</i>.
</p>

@param clientToken
       A unique identifier to ensure the idempotency of the resource request. As a best practice, specify this
       token to ensure idempotency, so that Amazon Web Services Cloud Control API can accurately distinguish
       between request retries and new resource requests. You might retry a resource request to ensure that it
       was successfully received.</p>
       <p>
       A client token is valid for 36 hours once used. After that, a resource request with the same client token
       is treated as a new request.
       </p>
       <p>
       If you do not specify a client token, one is generated for inclusion in the request.
       </p>
       <p>
       For more information, see <a href=
       "https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-idempotency"
       >Ensuring resource operation requests are unique</a> in the <i>Amazon Web Services Cloud Control API User
       Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudcontrolapi/src/main/java/com/amazonaws/services/cloudcontrolapi/model/CreateResourceRequest.java