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

com.pulumi.azurenative.awsconnector.outputs.DeploymentTargetsResponse Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.awsconnector.outputs;

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

@CustomType
public final class DeploymentTargetsResponse {
    /**
     * @return The filter type you want to apply on organizational units and accounts.
     * 
     */
    private @Nullable String accountFilterType;
    /**
     * @return AWS accounts that you want to create stack instances in the specified Region(s) for.
     * 
     */
    private @Nullable List accounts;
    /**
     * @return Returns the value of the AccountsUrl property.
     * 
     */
    private @Nullable String accountsUrl;
    /**
     * @return The organization root ID or organizational unit (OU) IDs to which StackSets deploys.
     * 
     */
    private @Nullable List organizationalUnitIds;

    private DeploymentTargetsResponse() {}
    /**
     * @return The filter type you want to apply on organizational units and accounts.
     * 
     */
    public Optional accountFilterType() {
        return Optional.ofNullable(this.accountFilterType);
    }
    /**
     * @return AWS accounts that you want to create stack instances in the specified Region(s) for.
     * 
     */
    public List accounts() {
        return this.accounts == null ? List.of() : this.accounts;
    }
    /**
     * @return Returns the value of the AccountsUrl property.
     * 
     */
    public Optional accountsUrl() {
        return Optional.ofNullable(this.accountsUrl);
    }
    /**
     * @return The organization root ID or organizational unit (OU) IDs to which StackSets deploys.
     * 
     */
    public List organizationalUnitIds() {
        return this.organizationalUnitIds == null ? List.of() : this.organizationalUnitIds;
    }

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

    public static Builder builder(DeploymentTargetsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String accountFilterType;
        private @Nullable List accounts;
        private @Nullable String accountsUrl;
        private @Nullable List organizationalUnitIds;
        public Builder() {}
        public Builder(DeploymentTargetsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.accountFilterType = defaults.accountFilterType;
    	      this.accounts = defaults.accounts;
    	      this.accountsUrl = defaults.accountsUrl;
    	      this.organizationalUnitIds = defaults.organizationalUnitIds;
        }

        @CustomType.Setter
        public Builder accountFilterType(@Nullable String accountFilterType) {

            this.accountFilterType = accountFilterType;
            return this;
        }
        @CustomType.Setter
        public Builder accounts(@Nullable List accounts) {

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

            this.accountsUrl = accountsUrl;
            return this;
        }
        @CustomType.Setter
        public Builder organizationalUnitIds(@Nullable List organizationalUnitIds) {

            this.organizationalUnitIds = organizationalUnitIds;
            return this;
        }
        public Builder organizationalUnitIds(String... organizationalUnitIds) {
            return organizationalUnitIds(List.of(organizationalUnitIds));
        }
        public DeploymentTargetsResponse build() {
            final var _resultValue = new DeploymentTargetsResponse();
            _resultValue.accountFilterType = accountFilterType;
            _resultValue.accounts = accounts;
            _resultValue.accountsUrl = accountsUrl;
            _resultValue.organizationalUnitIds = organizationalUnitIds;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy