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

com.pulumi.aws.elasticache.outputs.GetClusterCacheNode 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.elasticache.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 GetClusterCacheNode {
    private String address;
    /**
     * @return Availability Zone for the cache cluster.
     * 
     */
    private String availabilityZone;
    private String id;
    private String outpostArn;
    /**
     * @return The port number on which each of the cache nodes will
     * accept connections.
     * 
     */
    private Integer port;

    private GetClusterCacheNode() {}
    public String address() {
        return this.address;
    }
    /**
     * @return Availability Zone for the cache cluster.
     * 
     */
    public String availabilityZone() {
        return this.availabilityZone;
    }
    public String id() {
        return this.id;
    }
    public String outpostArn() {
        return this.outpostArn;
    }
    /**
     * @return The port number on which each of the cache nodes will
     * accept connections.
     * 
     */
    public Integer port() {
        return this.port;
    }

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy