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

com.pulumi.aws.pipes.outputs.PipeSourceParametersSelfManagedKafkaParametersVpc 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.pipes.outputs;

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

@CustomType
public final class PipeSourceParametersSelfManagedKafkaParametersVpc {
    private @Nullable List securityGroups;
    private @Nullable List subnets;

    private PipeSourceParametersSelfManagedKafkaParametersVpc() {}
    public List securityGroups() {
        return this.securityGroups == null ? List.of() : this.securityGroups;
    }
    public List subnets() {
        return this.subnets == null ? List.of() : this.subnets;
    }

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

    public static Builder builder(PipeSourceParametersSelfManagedKafkaParametersVpc defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List securityGroups;
        private @Nullable List subnets;
        public Builder() {}
        public Builder(PipeSourceParametersSelfManagedKafkaParametersVpc defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.securityGroups = defaults.securityGroups;
    	      this.subnets = defaults.subnets;
        }

        @CustomType.Setter
        public Builder securityGroups(@Nullable List securityGroups) {

            this.securityGroups = securityGroups;
            return this;
        }
        public Builder securityGroups(String... securityGroups) {
            return securityGroups(List.of(securityGroups));
        }
        @CustomType.Setter
        public Builder subnets(@Nullable List subnets) {

            this.subnets = subnets;
            return this;
        }
        public Builder subnets(String... subnets) {
            return subnets(List.of(subnets));
        }
        public PipeSourceParametersSelfManagedKafkaParametersVpc build() {
            final var _resultValue = new PipeSourceParametersSelfManagedKafkaParametersVpc();
            _resultValue.securityGroups = securityGroups;
            _resultValue.subnets = subnets;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy