All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.memorydb.outputs.GetClusterShardNodeEndpoint Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.memorydb.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetClusterShardNodeEndpoint {
    /**
     * @return DNS hostname of the node.
     * 
     */
    private String address;
    /**
     * @return Port number that this node is listening on.
     * 
     */
    private Integer port;

    private GetClusterShardNodeEndpoint() {}
    /**
     * @return DNS hostname of the node.
     * 
     */
    public String address() {
        return this.address;
    }
    /**
     * @return Port number that this node is listening on.
     * 
     */
    public Integer port() {
        return this.port;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetClusterShardNodeEndpoint defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String address;
        private Integer port;
        public Builder() {}
        public Builder(GetClusterShardNodeEndpoint defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.address = defaults.address;
    	      this.port = defaults.port;
        }

        @CustomType.Setter
        public Builder address(String address) {
            if (address == null) {
              throw new MissingRequiredPropertyException("GetClusterShardNodeEndpoint", "address");
            }
            this.address = address;
            return this;
        }
        @CustomType.Setter
        public Builder port(Integer port) {
            if (port == null) {
              throw new MissingRequiredPropertyException("GetClusterShardNodeEndpoint", "port");
            }
            this.port = port;
            return this;
        }
        public GetClusterShardNodeEndpoint build() {
            final var _resultValue = new GetClusterShardNodeEndpoint();
            _resultValue.address = address;
            _resultValue.port = port;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy