public CreateRestApiResult withId(String id) {
        setId(id);
        return this;
    }
<p>
The API's identifier. This identifier is unique across all of your APIs in API Gateway.
</p>

@param id
       The API's identifier. This identifier is unique across all of your APIs in API Gateway.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/CreateRestApiResult.java