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

com.pulumi.aws.appconfig.outputs.GetEnvironmentsResult 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.appconfig.outputs;

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 GetEnvironmentsResult {
    private String applicationId;
    /**
     * @return Set of Environment IDs associated with this AppConfig Application.
     * 
     */
    private List environmentIds;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;

    private GetEnvironmentsResult() {}
    public String applicationId() {
        return this.applicationId;
    }
    /**
     * @return Set of Environment IDs associated with this AppConfig Application.
     * 
     */
    public List environmentIds() {
        return this.environmentIds;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }

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

    public static Builder builder(GetEnvironmentsResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String applicationId;
        private List environmentIds;
        private String id;
        public Builder() {}
        public Builder(GetEnvironmentsResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.applicationId = defaults.applicationId;
    	      this.environmentIds = defaults.environmentIds;
    	      this.id = defaults.id;
        }

        @CustomType.Setter
        public Builder applicationId(String applicationId) {
            if (applicationId == null) {
              throw new MissingRequiredPropertyException("GetEnvironmentsResult", "applicationId");
            }
            this.applicationId = applicationId;
            return this;
        }
        @CustomType.Setter
        public Builder environmentIds(List environmentIds) {
            if (environmentIds == null) {
              throw new MissingRequiredPropertyException("GetEnvironmentsResult", "environmentIds");
            }
            this.environmentIds = environmentIds;
            return this;
        }
        public Builder environmentIds(String... environmentIds) {
            return environmentIds(List.of(environmentIds));
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetEnvironmentsResult", "id");
            }
            this.id = id;
            return this;
        }
        public GetEnvironmentsResult build() {
            final var _resultValue = new GetEnvironmentsResult();
            _resultValue.applicationId = applicationId;
            _resultValue.environmentIds = environmentIds;
            _resultValue.id = id;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy