public AwsEksClusterDetails withEndpoint(String endpoint) {
        setEndpoint(endpoint);
        return this;
    }
<p>
The endpoint for the Amazon EKS API server.
</p>

@param endpoint
       The endpoint for the Amazon EKS API server.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEksClusterDetails.java