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

com.pulumi.azurenative.azurestackhci.outputs.ClusterResponse 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.azurestackhci.outputs;

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

@CustomType
public final class ClusterResponse {
    /**
     * @return For Azure blob service endpoint type, select either Default or Custom domain. If you selected **Custom domain, enter the domain for the blob service in this format core.windows.net.
     * 
     */
    private @Nullable String azureServiceEndpoint;
    /**
     * @return Specify the Azure Storage account name for cloud witness for your Azure Stack HCI cluster.
     * 
     */
    private @Nullable String cloudAccountName;
    /**
     * @return The cluster name provided when preparing Active Directory.
     * 
     */
    private @Nullable String name;
    /**
     * @return Specify the fileshare path for the local witness for your Azure Stack HCI cluster.
     * 
     */
    private @Nullable String witnessPath;
    /**
     * @return Use a cloud witness if you have internet access and if you use an Azure Storage account to provide a vote on cluster quorum. A cloud witness uses Azure Blob Storage to read or write a blob file and then uses it to arbitrate in split-brain resolution. Only allowed values are 'Cloud', 'FileShare'.
     * 
     */
    private @Nullable String witnessType;

    private ClusterResponse() {}
    /**
     * @return For Azure blob service endpoint type, select either Default or Custom domain. If you selected **Custom domain, enter the domain for the blob service in this format core.windows.net.
     * 
     */
    public Optional azureServiceEndpoint() {
        return Optional.ofNullable(this.azureServiceEndpoint);
    }
    /**
     * @return Specify the Azure Storage account name for cloud witness for your Azure Stack HCI cluster.
     * 
     */
    public Optional cloudAccountName() {
        return Optional.ofNullable(this.cloudAccountName);
    }
    /**
     * @return The cluster name provided when preparing Active Directory.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return Specify the fileshare path for the local witness for your Azure Stack HCI cluster.
     * 
     */
    public Optional witnessPath() {
        return Optional.ofNullable(this.witnessPath);
    }
    /**
     * @return Use a cloud witness if you have internet access and if you use an Azure Storage account to provide a vote on cluster quorum. A cloud witness uses Azure Blob Storage to read or write a blob file and then uses it to arbitrate in split-brain resolution. Only allowed values are 'Cloud', 'FileShare'.
     * 
     */
    public Optional witnessType() {
        return Optional.ofNullable(this.witnessType);
    }

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

    public static Builder builder(ClusterResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String azureServiceEndpoint;
        private @Nullable String cloudAccountName;
        private @Nullable String name;
        private @Nullable String witnessPath;
        private @Nullable String witnessType;
        public Builder() {}
        public Builder(ClusterResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.azureServiceEndpoint = defaults.azureServiceEndpoint;
    	      this.cloudAccountName = defaults.cloudAccountName;
    	      this.name = defaults.name;
    	      this.witnessPath = defaults.witnessPath;
    	      this.witnessType = defaults.witnessType;
        }

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

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

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

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

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

            this.witnessType = witnessType;
            return this;
        }
        public ClusterResponse build() {
            final var _resultValue = new ClusterResponse();
            _resultValue.azureServiceEndpoint = azureServiceEndpoint;
            _resultValue.cloudAccountName = cloudAccountName;
            _resultValue.name = name;
            _resultValue.witnessPath = witnessPath;
            _resultValue.witnessType = witnessType;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy