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

com.pulumi.alicloud.cen.outputs.GetVbrHealthChecksResult 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.cen.outputs;

import com.pulumi.alicloud.cen.outputs.GetVbrHealthChecksCheck;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetVbrHealthChecksResult {
    /**
     * @return The ID of the Cloud Enterprise Network (CEN) instance.
     * 
     */
    private @Nullable String cenId;
    /**
     * @return A list of CEN VBR Heath Checks. Each element contains the following attributes:
     * 
     */
    private List checks;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return A list of the CEN VBR Heath Check IDs.
     * 
     */
    private List ids;
    private @Nullable String outputFile;
    /**
     * @return The ID of the VBR instance.
     * 
     */
    private @Nullable String vbrInstanceId;
    private @Nullable Integer vbrInstanceOwnerId;
    /**
     * @return The ID of the region where the VBR instance is deployed.
     * 
     */
    private String vbrInstanceRegionId;

    private GetVbrHealthChecksResult() {}
    /**
     * @return The ID of the Cloud Enterprise Network (CEN) instance.
     * 
     */
    public Optional cenId() {
        return Optional.ofNullable(this.cenId);
    }
    /**
     * @return A list of CEN VBR Heath Checks. Each element contains the following attributes:
     * 
     */
    public List checks() {
        return this.checks;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return A list of the CEN VBR Heath Check IDs.
     * 
     */
    public List ids() {
        return this.ids;
    }
    public Optional outputFile() {
        return Optional.ofNullable(this.outputFile);
    }
    /**
     * @return The ID of the VBR instance.
     * 
     */
    public Optional vbrInstanceId() {
        return Optional.ofNullable(this.vbrInstanceId);
    }
    public Optional vbrInstanceOwnerId() {
        return Optional.ofNullable(this.vbrInstanceOwnerId);
    }
    /**
     * @return The ID of the region where the VBR instance is deployed.
     * 
     */
    public String vbrInstanceRegionId() {
        return this.vbrInstanceRegionId;
    }

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

    public static Builder builder(GetVbrHealthChecksResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String cenId;
        private List checks;
        private String id;
        private List ids;
        private @Nullable String outputFile;
        private @Nullable String vbrInstanceId;
        private @Nullable Integer vbrInstanceOwnerId;
        private String vbrInstanceRegionId;
        public Builder() {}
        public Builder(GetVbrHealthChecksResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.cenId = defaults.cenId;
    	      this.checks = defaults.checks;
    	      this.id = defaults.id;
    	      this.ids = defaults.ids;
    	      this.outputFile = defaults.outputFile;
    	      this.vbrInstanceId = defaults.vbrInstanceId;
    	      this.vbrInstanceOwnerId = defaults.vbrInstanceOwnerId;
    	      this.vbrInstanceRegionId = defaults.vbrInstanceRegionId;
        }

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

            this.cenId = cenId;
            return this;
        }
        @CustomType.Setter
        public Builder checks(List checks) {
            if (checks == null) {
              throw new MissingRequiredPropertyException("GetVbrHealthChecksResult", "checks");
            }
            this.checks = checks;
            return this;
        }
        public Builder checks(GetVbrHealthChecksCheck... checks) {
            return checks(List.of(checks));
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetVbrHealthChecksResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder ids(List ids) {
            if (ids == null) {
              throw new MissingRequiredPropertyException("GetVbrHealthChecksResult", "ids");
            }
            this.ids = ids;
            return this;
        }
        public Builder ids(String... ids) {
            return ids(List.of(ids));
        }
        @CustomType.Setter
        public Builder outputFile(@Nullable String outputFile) {

            this.outputFile = outputFile;
            return this;
        }
        @CustomType.Setter
        public Builder vbrInstanceId(@Nullable String vbrInstanceId) {

            this.vbrInstanceId = vbrInstanceId;
            return this;
        }
        @CustomType.Setter
        public Builder vbrInstanceOwnerId(@Nullable Integer vbrInstanceOwnerId) {

            this.vbrInstanceOwnerId = vbrInstanceOwnerId;
            return this;
        }
        @CustomType.Setter
        public Builder vbrInstanceRegionId(String vbrInstanceRegionId) {
            if (vbrInstanceRegionId == null) {
              throw new MissingRequiredPropertyException("GetVbrHealthChecksResult", "vbrInstanceRegionId");
            }
            this.vbrInstanceRegionId = vbrInstanceRegionId;
            return this;
        }
        public GetVbrHealthChecksResult build() {
            final var _resultValue = new GetVbrHealthChecksResult();
            _resultValue.cenId = cenId;
            _resultValue.checks = checks;
            _resultValue.id = id;
            _resultValue.ids = ids;
            _resultValue.outputFile = outputFile;
            _resultValue.vbrInstanceId = vbrInstanceId;
            _resultValue.vbrInstanceOwnerId = vbrInstanceOwnerId;
            _resultValue.vbrInstanceRegionId = vbrInstanceRegionId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy