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

com.pulumi.azurenative.hardwaresecuritymodules.outputs.GetCloudHsmClusterResult Maven / Gradle / Ivy

// *** 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.hardwaresecuritymodules.outputs;

import com.pulumi.azurenative.hardwaresecuritymodules.outputs.CloudHsmClusterSecurityDomainPropertiesResponse;
import com.pulumi.azurenative.hardwaresecuritymodules.outputs.CloudHsmClusterSkuResponse;
import com.pulumi.azurenative.hardwaresecuritymodules.outputs.CloudHsmPropertiesResponse;
import com.pulumi.azurenative.hardwaresecuritymodules.outputs.PrivateEndpointConnectionResponse;
import com.pulumi.azurenative.hardwaresecuritymodules.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetCloudHsmClusterResult {
    /**
     * @return The Cloud HSM Cluster's auto-generated Domain Name Label Scope
     * 
     */
    private @Nullable String autoGeneratedDomainNameLabelScope;
    /**
     * @return An array of Cloud HSM Cluster's HSMs
     * 
     */
    private @Nullable List hsms;
    /**
     * @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
     * 
     */
    private String id;
    /**
     * @return The geo-location where the resource lives
     * 
     */
    private String location;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return List of private endpoint connection resources
     * 
     */
    private @Nullable List privateEndpointConnections;
    /**
     * @return The Cloud HSM Cluster's provisioningState
     * 
     */
    private @Nullable String provisioningState;
    /**
     * @return The Cloud HSM Cluster public network access
     * 
     */
    private @Nullable String publicNetworkAccess;
    /**
     * @return Security domain properties information for Cloud HSM cluster
     * 
     */
    private @Nullable CloudHsmClusterSecurityDomainPropertiesResponse securityDomain;
    /**
     * @return SKU details
     * 
     */
    private @Nullable CloudHsmClusterSkuResponse sku;
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Resource tags.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;

    private GetCloudHsmClusterResult() {}
    /**
     * @return The Cloud HSM Cluster's auto-generated Domain Name Label Scope
     * 
     */
    public Optional autoGeneratedDomainNameLabelScope() {
        return Optional.ofNullable(this.autoGeneratedDomainNameLabelScope);
    }
    /**
     * @return An array of Cloud HSM Cluster's HSMs
     * 
     */
    public List hsms() {
        return this.hsms == null ? List.of() : this.hsms;
    }
    /**
     * @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The geo-location where the resource lives
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return List of private endpoint connection resources
     * 
     */
    public List privateEndpointConnections() {
        return this.privateEndpointConnections == null ? List.of() : this.privateEndpointConnections;
    }
    /**
     * @return The Cloud HSM Cluster's provisioningState
     * 
     */
    public Optional provisioningState() {
        return Optional.ofNullable(this.provisioningState);
    }
    /**
     * @return The Cloud HSM Cluster public network access
     * 
     */
    public Optional publicNetworkAccess() {
        return Optional.ofNullable(this.publicNetworkAccess);
    }
    /**
     * @return Security domain properties information for Cloud HSM cluster
     * 
     */
    public Optional securityDomain() {
        return Optional.ofNullable(this.securityDomain);
    }
    /**
     * @return SKU details
     * 
     */
    public Optional sku() {
        return Optional.ofNullable(this.sku);
    }
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return Resource tags.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetCloudHsmClusterResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String autoGeneratedDomainNameLabelScope;
        private @Nullable List hsms;
        private String id;
        private String location;
        private String name;
        private @Nullable List privateEndpointConnections;
        private @Nullable String provisioningState;
        private @Nullable String publicNetworkAccess;
        private @Nullable CloudHsmClusterSecurityDomainPropertiesResponse securityDomain;
        private @Nullable CloudHsmClusterSkuResponse sku;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private String type;
        public Builder() {}
        public Builder(GetCloudHsmClusterResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.autoGeneratedDomainNameLabelScope = defaults.autoGeneratedDomainNameLabelScope;
    	      this.hsms = defaults.hsms;
    	      this.id = defaults.id;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.privateEndpointConnections = defaults.privateEndpointConnections;
    	      this.provisioningState = defaults.provisioningState;
    	      this.publicNetworkAccess = defaults.publicNetworkAccess;
    	      this.securityDomain = defaults.securityDomain;
    	      this.sku = defaults.sku;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
        }

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

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

            this.hsms = hsms;
            return this;
        }
        public Builder hsms(CloudHsmPropertiesResponse... hsms) {
            return hsms(List.of(hsms));
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetCloudHsmClusterResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetCloudHsmClusterResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetCloudHsmClusterResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder privateEndpointConnections(@Nullable List privateEndpointConnections) {

            this.privateEndpointConnections = privateEndpointConnections;
            return this;
        }
        public Builder privateEndpointConnections(PrivateEndpointConnectionResponse... privateEndpointConnections) {
            return privateEndpointConnections(List.of(privateEndpointConnections));
        }
        @CustomType.Setter
        public Builder provisioningState(@Nullable String provisioningState) {

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

            this.publicNetworkAccess = publicNetworkAccess;
            return this;
        }
        @CustomType.Setter
        public Builder securityDomain(@Nullable CloudHsmClusterSecurityDomainPropertiesResponse securityDomain) {

            this.securityDomain = securityDomain;
            return this;
        }
        @CustomType.Setter
        public Builder sku(@Nullable CloudHsmClusterSkuResponse sku) {

            this.sku = sku;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetCloudHsmClusterResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetCloudHsmClusterResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetCloudHsmClusterResult build() {
            final var _resultValue = new GetCloudHsmClusterResult();
            _resultValue.autoGeneratedDomainNameLabelScope = autoGeneratedDomainNameLabelScope;
            _resultValue.hsms = hsms;
            _resultValue.id = id;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.privateEndpointConnections = privateEndpointConnections;
            _resultValue.provisioningState = provisioningState;
            _resultValue.publicNetworkAccess = publicNetworkAccess;
            _resultValue.securityDomain = securityDomain;
            _resultValue.sku = sku;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy