public S3ObjectLambdaEndpointBuilder withDomain(String domain) {
        this.domain = domain;
        return this;
    }
Create a new instance of this builder class.
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/internal/S3ObjectLambdaEndpointBuilder.java