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

com.pulumi.aws.eks.outputs.GetClusterOutpostConfig 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.66.3
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.eks.outputs;

import com.pulumi.aws.eks.outputs.GetClusterOutpostConfigControlPlanePlacement;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetClusterOutpostConfig {
    /**
     * @return The Amazon EC2 instance type for all Kubernetes control plane instances.
     * 
     */
    private String controlPlaneInstanceType;
    /**
     * @return An object representing the placement configuration for all the control plane instances of your local Amazon EKS cluster on AWS Outpost.
     * 
     */
    private List controlPlanePlacements;
    /**
     * @return List of ARNs of the Outposts hosting the EKS cluster. Only a single ARN is supported currently.
     * 
     */
    private List outpostArns;

    private GetClusterOutpostConfig() {}
    /**
     * @return The Amazon EC2 instance type for all Kubernetes control plane instances.
     * 
     */
    public String controlPlaneInstanceType() {
        return this.controlPlaneInstanceType;
    }
    /**
     * @return An object representing the placement configuration for all the control plane instances of your local Amazon EKS cluster on AWS Outpost.
     * 
     */
    public List controlPlanePlacements() {
        return this.controlPlanePlacements;
    }
    /**
     * @return List of ARNs of the Outposts hosting the EKS cluster. Only a single ARN is supported currently.
     * 
     */
    public List outpostArns() {
        return this.outpostArns;
    }

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

    public static Builder builder(GetClusterOutpostConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String controlPlaneInstanceType;
        private List controlPlanePlacements;
        private List outpostArns;
        public Builder() {}
        public Builder(GetClusterOutpostConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.controlPlaneInstanceType = defaults.controlPlaneInstanceType;
    	      this.controlPlanePlacements = defaults.controlPlanePlacements;
    	      this.outpostArns = defaults.outpostArns;
        }

        @CustomType.Setter
        public Builder controlPlaneInstanceType(String controlPlaneInstanceType) {
            if (controlPlaneInstanceType == null) {
              throw new MissingRequiredPropertyException("GetClusterOutpostConfig", "controlPlaneInstanceType");
            }
            this.controlPlaneInstanceType = controlPlaneInstanceType;
            return this;
        }
        @CustomType.Setter
        public Builder controlPlanePlacements(List controlPlanePlacements) {
            if (controlPlanePlacements == null) {
              throw new MissingRequiredPropertyException("GetClusterOutpostConfig", "controlPlanePlacements");
            }
            this.controlPlanePlacements = controlPlanePlacements;
            return this;
        }
        public Builder controlPlanePlacements(GetClusterOutpostConfigControlPlanePlacement... controlPlanePlacements) {
            return controlPlanePlacements(List.of(controlPlanePlacements));
        }
        @CustomType.Setter
        public Builder outpostArns(List outpostArns) {
            if (outpostArns == null) {
              throw new MissingRequiredPropertyException("GetClusterOutpostConfig", "outpostArns");
            }
            this.outpostArns = outpostArns;
            return this;
        }
        public Builder outpostArns(String... outpostArns) {
            return outpostArns(List.of(outpostArns));
        }
        public GetClusterOutpostConfig build() {
            final var _resultValue = new GetClusterOutpostConfig();
            _resultValue.controlPlaneInstanceType = controlPlaneInstanceType;
            _resultValue.controlPlanePlacements = controlPlanePlacements;
            _resultValue.outpostArns = outpostArns;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy