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

com.pulumi.aws.amp.outputs.ScraperSourceEks Maven / Gradle / Ivy

Go to download

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

The 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.amp.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class ScraperSourceEks {
    private String clusterArn;
    /**
     * @return List of the security group IDs for the Amazon EKS cluster VPC configuration.
     * 
     */
    private @Nullable List securityGroupIds;
    /**
     * @return List of subnet IDs. Must be in at least two different availability zones.
     * 
     */
    private List subnetIds;

    private ScraperSourceEks() {}
    public String clusterArn() {
        return this.clusterArn;
    }
    /**
     * @return List of the security group IDs for the Amazon EKS cluster VPC configuration.
     * 
     */
    public List securityGroupIds() {
        return this.securityGroupIds == null ? List.of() : this.securityGroupIds;
    }
    /**
     * @return List of subnet IDs. Must be in at least two different availability zones.
     * 
     */
    public List subnetIds() {
        return this.subnetIds;
    }

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

    public static Builder builder(ScraperSourceEks defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String clusterArn;
        private @Nullable List securityGroupIds;
        private List subnetIds;
        public Builder() {}
        public Builder(ScraperSourceEks defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.clusterArn = defaults.clusterArn;
    	      this.securityGroupIds = defaults.securityGroupIds;
    	      this.subnetIds = defaults.subnetIds;
        }

        @CustomType.Setter
        public Builder clusterArn(String clusterArn) {
            if (clusterArn == null) {
              throw new MissingRequiredPropertyException("ScraperSourceEks", "clusterArn");
            }
            this.clusterArn = clusterArn;
            return this;
        }
        @CustomType.Setter
        public Builder securityGroupIds(@Nullable List securityGroupIds) {

            this.securityGroupIds = securityGroupIds;
            return this;
        }
        public Builder securityGroupIds(String... securityGroupIds) {
            return securityGroupIds(List.of(securityGroupIds));
        }
        @CustomType.Setter
        public Builder subnetIds(List subnetIds) {
            if (subnetIds == null) {
              throw new MissingRequiredPropertyException("ScraperSourceEks", "subnetIds");
            }
            this.subnetIds = subnetIds;
            return this;
        }
        public Builder subnetIds(String... subnetIds) {
            return subnetIds(List.of(subnetIds));
        }
        public ScraperSourceEks build() {
            final var _resultValue = new ScraperSourceEks();
            _resultValue.clusterArn = clusterArn;
            _resultValue.securityGroupIds = securityGroupIds;
            _resultValue.subnetIds = subnetIds;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy