public CreateRestApiResult withEndpointConfiguration(EndpointConfiguration endpointConfiguration) {
        setEndpointConfiguration(endpointConfiguration);
        return this;
    }
<p>
The endpoint configuration of this RestApi showing the endpoint types of the API.
</p>

@param endpointConfiguration
       The endpoint configuration of this RestApi showing the endpoint types of the API.
@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