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

com.pulumi.alicloud.rds.outputs.GetInstanceEnginesInstanceEngineZoneId Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.rds.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 GetInstanceEnginesInstanceEngineZoneId {
    /**
     * @return The Zone to launch the DB instance
     * 
     */
    private String id;
    /**
     * @return A list of sub zone ids which in the id - e.g If `id` is `cn-beijing-MAZ5(a,b)`, `sub_zone_ids` will be `["cn-beijing-a", "cn-beijing-b"]`.
     * 
     */
    private List subZoneIds;

    private GetInstanceEnginesInstanceEngineZoneId() {}
    /**
     * @return The Zone to launch the DB instance
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return A list of sub zone ids which in the id - e.g If `id` is `cn-beijing-MAZ5(a,b)`, `sub_zone_ids` will be `["cn-beijing-a", "cn-beijing-b"]`.
     * 
     */
    public List subZoneIds() {
        return this.subZoneIds;
    }

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy