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

com.pulumi.azurenative.servicefabric.outputs.GetManagedClusterResult 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.servicefabric.outputs;

import com.pulumi.azurenative.servicefabric.outputs.ApplicationTypeVersionsCleanupPolicyResponse;
import com.pulumi.azurenative.servicefabric.outputs.AzureActiveDirectoryResponse;
import com.pulumi.azurenative.servicefabric.outputs.ClientCertificateResponse;
import com.pulumi.azurenative.servicefabric.outputs.IPTagResponse;
import com.pulumi.azurenative.servicefabric.outputs.LoadBalancingRuleResponse;
import com.pulumi.azurenative.servicefabric.outputs.NetworkSecurityRuleResponse;
import com.pulumi.azurenative.servicefabric.outputs.ServiceEndpointResponse;
import com.pulumi.azurenative.servicefabric.outputs.SettingsSectionDescriptionResponse;
import com.pulumi.azurenative.servicefabric.outputs.SkuResponse;
import com.pulumi.azurenative.servicefabric.outputs.SubnetResponse;
import com.pulumi.azurenative.servicefabric.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
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 GetManagedClusterResult {
    /**
     * @return List of add-on features to enable on the cluster.
     * 
     */
    private @Nullable List addonFeatures;
    /**
     * @return VM admin user password.
     * 
     */
    private @Nullable String adminPassword;
    /**
     * @return VM admin user name.
     * 
     */
    private String adminUserName;
    /**
     * @return Setting this to true enables RDP access to the VM. The default NSG rule opens RDP port to Internet which can be overridden with custom Network Security Rules. The default value for this setting is false.
     * 
     */
    private @Nullable Boolean allowRdpAccess;
    /**
     * @return The policy used to clean up unused versions.
     * 
     */
    private @Nullable ApplicationTypeVersionsCleanupPolicyResponse applicationTypeVersionsCleanupPolicy;
    /**
     * @return Auxiliary subnets for the cluster.
     * 
     */
    private @Nullable List auxiliarySubnets;
    /**
     * @return The AAD authentication settings of the cluster.
     * 
     */
    private @Nullable AzureActiveDirectoryResponse azureActiveDirectory;
    /**
     * @return The port used for client connections to the cluster.
     * 
     */
    private @Nullable Integer clientConnectionPort;
    /**
     * @return Client certificates that are allowed to manage the cluster.
     * 
     */
    private @Nullable List clients;
    /**
     * @return List of thumbprints of the cluster certificates.
     * 
     */
    private List clusterCertificateThumbprints;
    /**
     * @return The Service Fabric runtime version of the cluster. This property is required when **clusterUpgradeMode** is set to 'Manual'. To get list of available Service Fabric versions for new clusters use [ClusterVersion API](./ClusterVersion.md). To get the list of available version for existing clusters use **availableClusterVersions**.
     * 
     */
    private @Nullable String clusterCodeVersion;
    /**
     * @return A service generated unique identifier for the cluster resource.
     * 
     */
    private String clusterId;
    /**
     * @return The current state of the cluster.
     * 
     */
    private String clusterState;
    /**
     * @return Indicates when new cluster runtime version upgrades will be applied after they are released. By default is Wave0. Only applies when **clusterUpgradeMode** is set to 'Automatic'.
     * 
     */
    private @Nullable String clusterUpgradeCadence;
    /**
     * @return The upgrade mode of the cluster when new Service Fabric runtime version is available.
     * 
     */
    private @Nullable String clusterUpgradeMode;
    /**
     * @return The cluster dns name.
     * 
     */
    private String dnsName;
    /**
     * @return Setting this to true enables automatic OS upgrade for the node types that are created using any platform OS image with version 'latest'. The default value for this setting is false.
     * 
     */
    private @Nullable Boolean enableAutoOSUpgrade;
    /**
     * @return Setting this to true creates IPv6 address space for the default VNet used by the cluster. This setting cannot be changed once the cluster is created. The default value for this setting is false.
     * 
     */
    private @Nullable Boolean enableIpv6;
    /**
     * @return Setting this to true will link the IPv4 address as the ServicePublicIP of the IPv6 address. It can only be set to True if IPv6 is enabled on the cluster.
     * 
     */
    private @Nullable Boolean enableServicePublicIP;
    /**
     * @return Azure resource etag.
     * 
     */
    private String etag;
    /**
     * @return The list of custom fabric settings to configure the cluster.
     * 
     */
    private @Nullable List fabricSettings;
    /**
     * @return The fully qualified domain name associated with the public load balancer of the cluster.
     * 
     */
    private String fqdn;
    /**
     * @return The port used for HTTP connections to the cluster.
     * 
     */
    private @Nullable Integer httpGatewayConnectionPort;
    /**
     * @return Azure resource identifier.
     * 
     */
    private String id;
    /**
     * @return The list of IP tags associated with the default public IP address of the cluster.
     * 
     */
    private @Nullable List ipTags;
    /**
     * @return The IPv4 address associated with the public load balancer of the cluster.
     * 
     */
    private String ipv4Address;
    /**
     * @return IPv6 address for the cluster if IPv6 is enabled.
     * 
     */
    private String ipv6Address;
    /**
     * @return Load balancing rules that are applied to the public load balancer of the cluster.
     * 
     */
    private @Nullable List loadBalancingRules;
    /**
     * @return Azure resource location.
     * 
     */
    private String location;
    /**
     * @return Azure resource name.
     * 
     */
    private String name;
    /**
     * @return Custom Network Security Rules that are applied to the Virtual Network of the cluster.
     * 
     */
    private @Nullable List networkSecurityRules;
    /**
     * @return The provisioning state of the managed cluster resource.
     * 
     */
    private String provisioningState;
    /**
     * @return Specify the resource id of a public IP prefix that the load balancer will allocate a public IP address from. Only supports IPv4.
     * 
     */
    private @Nullable String publicIPPrefixId;
    /**
     * @return Service endpoints for subnets in the cluster.
     * 
     */
    private @Nullable List serviceEndpoints;
    /**
     * @return The sku of the managed cluster
     * 
     */
    private SkuResponse sku;
    /**
     * @return If specified, the node types for the cluster are created in this subnet instead of the default VNet. The **networkSecurityRules** specified for the cluster are also applied to this subnet. This setting cannot be changed once the cluster is created.
     * 
     */
    private @Nullable String subnetId;
    /**
     * @return Metadata pertaining to creation and last modification of the resource.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Azure resource tags.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return Azure resource type.
     * 
     */
    private String type;
    /**
     * @return For new clusters, this parameter indicates that it uses Bring your own VNet, but the subnet is specified at node type level; and for such clusters, the subnetId property is required for node types.
     * 
     */
    private @Nullable Boolean useCustomVnet;
    /**
     * @return Indicates if the cluster has zone resiliency.
     * 
     */
    private @Nullable Boolean zonalResiliency;
    /**
     * @return Indicates the update mode for Cross Az clusters.
     * 
     */
    private @Nullable String zonalUpdateMode;

    private GetManagedClusterResult() {}
    /**
     * @return List of add-on features to enable on the cluster.
     * 
     */
    public List addonFeatures() {
        return this.addonFeatures == null ? List.of() : this.addonFeatures;
    }
    /**
     * @return VM admin user password.
     * 
     */
    public Optional adminPassword() {
        return Optional.ofNullable(this.adminPassword);
    }
    /**
     * @return VM admin user name.
     * 
     */
    public String adminUserName() {
        return this.adminUserName;
    }
    /**
     * @return Setting this to true enables RDP access to the VM. The default NSG rule opens RDP port to Internet which can be overridden with custom Network Security Rules. The default value for this setting is false.
     * 
     */
    public Optional allowRdpAccess() {
        return Optional.ofNullable(this.allowRdpAccess);
    }
    /**
     * @return The policy used to clean up unused versions.
     * 
     */
    public Optional applicationTypeVersionsCleanupPolicy() {
        return Optional.ofNullable(this.applicationTypeVersionsCleanupPolicy);
    }
    /**
     * @return Auxiliary subnets for the cluster.
     * 
     */
    public List auxiliarySubnets() {
        return this.auxiliarySubnets == null ? List.of() : this.auxiliarySubnets;
    }
    /**
     * @return The AAD authentication settings of the cluster.
     * 
     */
    public Optional azureActiveDirectory() {
        return Optional.ofNullable(this.azureActiveDirectory);
    }
    /**
     * @return The port used for client connections to the cluster.
     * 
     */
    public Optional clientConnectionPort() {
        return Optional.ofNullable(this.clientConnectionPort);
    }
    /**
     * @return Client certificates that are allowed to manage the cluster.
     * 
     */
    public List clients() {
        return this.clients == null ? List.of() : this.clients;
    }
    /**
     * @return List of thumbprints of the cluster certificates.
     * 
     */
    public List clusterCertificateThumbprints() {
        return this.clusterCertificateThumbprints;
    }
    /**
     * @return The Service Fabric runtime version of the cluster. This property is required when **clusterUpgradeMode** is set to 'Manual'. To get list of available Service Fabric versions for new clusters use [ClusterVersion API](./ClusterVersion.md). To get the list of available version for existing clusters use **availableClusterVersions**.
     * 
     */
    public Optional clusterCodeVersion() {
        return Optional.ofNullable(this.clusterCodeVersion);
    }
    /**
     * @return A service generated unique identifier for the cluster resource.
     * 
     */
    public String clusterId() {
        return this.clusterId;
    }
    /**
     * @return The current state of the cluster.
     * 
     */
    public String clusterState() {
        return this.clusterState;
    }
    /**
     * @return Indicates when new cluster runtime version upgrades will be applied after they are released. By default is Wave0. Only applies when **clusterUpgradeMode** is set to 'Automatic'.
     * 
     */
    public Optional clusterUpgradeCadence() {
        return Optional.ofNullable(this.clusterUpgradeCadence);
    }
    /**
     * @return The upgrade mode of the cluster when new Service Fabric runtime version is available.
     * 
     */
    public Optional clusterUpgradeMode() {
        return Optional.ofNullable(this.clusterUpgradeMode);
    }
    /**
     * @return The cluster dns name.
     * 
     */
    public String dnsName() {
        return this.dnsName;
    }
    /**
     * @return Setting this to true enables automatic OS upgrade for the node types that are created using any platform OS image with version 'latest'. The default value for this setting is false.
     * 
     */
    public Optional enableAutoOSUpgrade() {
        return Optional.ofNullable(this.enableAutoOSUpgrade);
    }
    /**
     * @return Setting this to true creates IPv6 address space for the default VNet used by the cluster. This setting cannot be changed once the cluster is created. The default value for this setting is false.
     * 
     */
    public Optional enableIpv6() {
        return Optional.ofNullable(this.enableIpv6);
    }
    /**
     * @return Setting this to true will link the IPv4 address as the ServicePublicIP of the IPv6 address. It can only be set to True if IPv6 is enabled on the cluster.
     * 
     */
    public Optional enableServicePublicIP() {
        return Optional.ofNullable(this.enableServicePublicIP);
    }
    /**
     * @return Azure resource etag.
     * 
     */
    public String etag() {
        return this.etag;
    }
    /**
     * @return The list of custom fabric settings to configure the cluster.
     * 
     */
    public List fabricSettings() {
        return this.fabricSettings == null ? List.of() : this.fabricSettings;
    }
    /**
     * @return The fully qualified domain name associated with the public load balancer of the cluster.
     * 
     */
    public String fqdn() {
        return this.fqdn;
    }
    /**
     * @return The port used for HTTP connections to the cluster.
     * 
     */
    public Optional httpGatewayConnectionPort() {
        return Optional.ofNullable(this.httpGatewayConnectionPort);
    }
    /**
     * @return Azure resource identifier.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The list of IP tags associated with the default public IP address of the cluster.
     * 
     */
    public List ipTags() {
        return this.ipTags == null ? List.of() : this.ipTags;
    }
    /**
     * @return The IPv4 address associated with the public load balancer of the cluster.
     * 
     */
    public String ipv4Address() {
        return this.ipv4Address;
    }
    /**
     * @return IPv6 address for the cluster if IPv6 is enabled.
     * 
     */
    public String ipv6Address() {
        return this.ipv6Address;
    }
    /**
     * @return Load balancing rules that are applied to the public load balancer of the cluster.
     * 
     */
    public List loadBalancingRules() {
        return this.loadBalancingRules == null ? List.of() : this.loadBalancingRules;
    }
    /**
     * @return Azure resource location.
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return Azure resource name.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Custom Network Security Rules that are applied to the Virtual Network of the cluster.
     * 
     */
    public List networkSecurityRules() {
        return this.networkSecurityRules == null ? List.of() : this.networkSecurityRules;
    }
    /**
     * @return The provisioning state of the managed cluster resource.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Specify the resource id of a public IP prefix that the load balancer will allocate a public IP address from. Only supports IPv4.
     * 
     */
    public Optional publicIPPrefixId() {
        return Optional.ofNullable(this.publicIPPrefixId);
    }
    /**
     * @return Service endpoints for subnets in the cluster.
     * 
     */
    public List serviceEndpoints() {
        return this.serviceEndpoints == null ? List.of() : this.serviceEndpoints;
    }
    /**
     * @return The sku of the managed cluster
     * 
     */
    public SkuResponse sku() {
        return this.sku;
    }
    /**
     * @return If specified, the node types for the cluster are created in this subnet instead of the default VNet. The **networkSecurityRules** specified for the cluster are also applied to this subnet. This setting cannot be changed once the cluster is created.
     * 
     */
    public Optional subnetId() {
        return Optional.ofNullable(this.subnetId);
    }
    /**
     * @return Metadata pertaining to creation and last modification of the resource.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return Azure resource tags.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return Azure resource type.
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return For new clusters, this parameter indicates that it uses Bring your own VNet, but the subnet is specified at node type level; and for such clusters, the subnetId property is required for node types.
     * 
     */
    public Optional useCustomVnet() {
        return Optional.ofNullable(this.useCustomVnet);
    }
    /**
     * @return Indicates if the cluster has zone resiliency.
     * 
     */
    public Optional zonalResiliency() {
        return Optional.ofNullable(this.zonalResiliency);
    }
    /**
     * @return Indicates the update mode for Cross Az clusters.
     * 
     */
    public Optional zonalUpdateMode() {
        return Optional.ofNullable(this.zonalUpdateMode);
    }

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

    public static Builder builder(GetManagedClusterResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List addonFeatures;
        private @Nullable String adminPassword;
        private String adminUserName;
        private @Nullable Boolean allowRdpAccess;
        private @Nullable ApplicationTypeVersionsCleanupPolicyResponse applicationTypeVersionsCleanupPolicy;
        private @Nullable List auxiliarySubnets;
        private @Nullable AzureActiveDirectoryResponse azureActiveDirectory;
        private @Nullable Integer clientConnectionPort;
        private @Nullable List clients;
        private List clusterCertificateThumbprints;
        private @Nullable String clusterCodeVersion;
        private String clusterId;
        private String clusterState;
        private @Nullable String clusterUpgradeCadence;
        private @Nullable String clusterUpgradeMode;
        private String dnsName;
        private @Nullable Boolean enableAutoOSUpgrade;
        private @Nullable Boolean enableIpv6;
        private @Nullable Boolean enableServicePublicIP;
        private String etag;
        private @Nullable List fabricSettings;
        private String fqdn;
        private @Nullable Integer httpGatewayConnectionPort;
        private String id;
        private @Nullable List ipTags;
        private String ipv4Address;
        private String ipv6Address;
        private @Nullable List loadBalancingRules;
        private String location;
        private String name;
        private @Nullable List networkSecurityRules;
        private String provisioningState;
        private @Nullable String publicIPPrefixId;
        private @Nullable List serviceEndpoints;
        private SkuResponse sku;
        private @Nullable String subnetId;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private String type;
        private @Nullable Boolean useCustomVnet;
        private @Nullable Boolean zonalResiliency;
        private @Nullable String zonalUpdateMode;
        public Builder() {}
        public Builder(GetManagedClusterResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.addonFeatures = defaults.addonFeatures;
    	      this.adminPassword = defaults.adminPassword;
    	      this.adminUserName = defaults.adminUserName;
    	      this.allowRdpAccess = defaults.allowRdpAccess;
    	      this.applicationTypeVersionsCleanupPolicy = defaults.applicationTypeVersionsCleanupPolicy;
    	      this.auxiliarySubnets = defaults.auxiliarySubnets;
    	      this.azureActiveDirectory = defaults.azureActiveDirectory;
    	      this.clientConnectionPort = defaults.clientConnectionPort;
    	      this.clients = defaults.clients;
    	      this.clusterCertificateThumbprints = defaults.clusterCertificateThumbprints;
    	      this.clusterCodeVersion = defaults.clusterCodeVersion;
    	      this.clusterId = defaults.clusterId;
    	      this.clusterState = defaults.clusterState;
    	      this.clusterUpgradeCadence = defaults.clusterUpgradeCadence;
    	      this.clusterUpgradeMode = defaults.clusterUpgradeMode;
    	      this.dnsName = defaults.dnsName;
    	      this.enableAutoOSUpgrade = defaults.enableAutoOSUpgrade;
    	      this.enableIpv6 = defaults.enableIpv6;
    	      this.enableServicePublicIP = defaults.enableServicePublicIP;
    	      this.etag = defaults.etag;
    	      this.fabricSettings = defaults.fabricSettings;
    	      this.fqdn = defaults.fqdn;
    	      this.httpGatewayConnectionPort = defaults.httpGatewayConnectionPort;
    	      this.id = defaults.id;
    	      this.ipTags = defaults.ipTags;
    	      this.ipv4Address = defaults.ipv4Address;
    	      this.ipv6Address = defaults.ipv6Address;
    	      this.loadBalancingRules = defaults.loadBalancingRules;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.networkSecurityRules = defaults.networkSecurityRules;
    	      this.provisioningState = defaults.provisioningState;
    	      this.publicIPPrefixId = defaults.publicIPPrefixId;
    	      this.serviceEndpoints = defaults.serviceEndpoints;
    	      this.sku = defaults.sku;
    	      this.subnetId = defaults.subnetId;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
    	      this.useCustomVnet = defaults.useCustomVnet;
    	      this.zonalResiliency = defaults.zonalResiliency;
    	      this.zonalUpdateMode = defaults.zonalUpdateMode;
        }

        @CustomType.Setter
        public Builder addonFeatures(@Nullable List addonFeatures) {

            this.addonFeatures = addonFeatures;
            return this;
        }
        public Builder addonFeatures(String... addonFeatures) {
            return addonFeatures(List.of(addonFeatures));
        }
        @CustomType.Setter
        public Builder adminPassword(@Nullable String adminPassword) {

            this.adminPassword = adminPassword;
            return this;
        }
        @CustomType.Setter
        public Builder adminUserName(String adminUserName) {
            if (adminUserName == null) {
              throw new MissingRequiredPropertyException("GetManagedClusterResult", "adminUserName");
            }
            this.adminUserName = adminUserName;
            return this;
        }
        @CustomType.Setter
        public Builder allowRdpAccess(@Nullable Boolean allowRdpAccess) {

            this.allowRdpAccess = allowRdpAccess;
            return this;
        }
        @CustomType.Setter
        public Builder applicationTypeVersionsCleanupPolicy(@Nullable ApplicationTypeVersionsCleanupPolicyResponse applicationTypeVersionsCleanupPolicy) {

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

            this.auxiliarySubnets = auxiliarySubnets;
            return this;
        }
        public Builder auxiliarySubnets(SubnetResponse... auxiliarySubnets) {
            return auxiliarySubnets(List.of(auxiliarySubnets));
        }
        @CustomType.Setter
        public Builder azureActiveDirectory(@Nullable AzureActiveDirectoryResponse azureActiveDirectory) {

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

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

            this.clients = clients;
            return this;
        }
        public Builder clients(ClientCertificateResponse... clients) {
            return clients(List.of(clients));
        }
        @CustomType.Setter
        public Builder clusterCertificateThumbprints(List clusterCertificateThumbprints) {
            if (clusterCertificateThumbprints == null) {
              throw new MissingRequiredPropertyException("GetManagedClusterResult", "clusterCertificateThumbprints");
            }
            this.clusterCertificateThumbprints = clusterCertificateThumbprints;
            return this;
        }
        public Builder clusterCertificateThumbprints(String... clusterCertificateThumbprints) {
            return clusterCertificateThumbprints(List.of(clusterCertificateThumbprints));
        }
        @CustomType.Setter
        public Builder clusterCodeVersion(@Nullable String clusterCodeVersion) {

            this.clusterCodeVersion = clusterCodeVersion;
            return this;
        }
        @CustomType.Setter
        public Builder clusterId(String clusterId) {
            if (clusterId == null) {
              throw new MissingRequiredPropertyException("GetManagedClusterResult", "clusterId");
            }
            this.clusterId = clusterId;
            return this;
        }
        @CustomType.Setter
        public Builder clusterState(String clusterState) {
            if (clusterState == null) {
              throw new MissingRequiredPropertyException("GetManagedClusterResult", "clusterState");
            }
            this.clusterState = clusterState;
            return this;
        }
        @CustomType.Setter
        public Builder clusterUpgradeCadence(@Nullable String clusterUpgradeCadence) {

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

            this.clusterUpgradeMode = clusterUpgradeMode;
            return this;
        }
        @CustomType.Setter
        public Builder dnsName(String dnsName) {
            if (dnsName == null) {
              throw new MissingRequiredPropertyException("GetManagedClusterResult", "dnsName");
            }
            this.dnsName = dnsName;
            return this;
        }
        @CustomType.Setter
        public Builder enableAutoOSUpgrade(@Nullable Boolean enableAutoOSUpgrade) {

            this.enableAutoOSUpgrade = enableAutoOSUpgrade;
            return this;
        }
        @CustomType.Setter
        public Builder enableIpv6(@Nullable Boolean enableIpv6) {

            this.enableIpv6 = enableIpv6;
            return this;
        }
        @CustomType.Setter
        public Builder enableServicePublicIP(@Nullable Boolean enableServicePublicIP) {

            this.enableServicePublicIP = enableServicePublicIP;
            return this;
        }
        @CustomType.Setter
        public Builder etag(String etag) {
            if (etag == null) {
              throw new MissingRequiredPropertyException("GetManagedClusterResult", "etag");
            }
            this.etag = etag;
            return this;
        }
        @CustomType.Setter
        public Builder fabricSettings(@Nullable List fabricSettings) {

            this.fabricSettings = fabricSettings;
            return this;
        }
        public Builder fabricSettings(SettingsSectionDescriptionResponse... fabricSettings) {
            return fabricSettings(List.of(fabricSettings));
        }
        @CustomType.Setter
        public Builder fqdn(String fqdn) {
            if (fqdn == null) {
              throw new MissingRequiredPropertyException("GetManagedClusterResult", "fqdn");
            }
            this.fqdn = fqdn;
            return this;
        }
        @CustomType.Setter
        public Builder httpGatewayConnectionPort(@Nullable Integer httpGatewayConnectionPort) {

            this.httpGatewayConnectionPort = httpGatewayConnectionPort;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetManagedClusterResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder ipTags(@Nullable List ipTags) {

            this.ipTags = ipTags;
            return this;
        }
        public Builder ipTags(IPTagResponse... ipTags) {
            return ipTags(List.of(ipTags));
        }
        @CustomType.Setter
        public Builder ipv4Address(String ipv4Address) {
            if (ipv4Address == null) {
              throw new MissingRequiredPropertyException("GetManagedClusterResult", "ipv4Address");
            }
            this.ipv4Address = ipv4Address;
            return this;
        }
        @CustomType.Setter
        public Builder ipv6Address(String ipv6Address) {
            if (ipv6Address == null) {
              throw new MissingRequiredPropertyException("GetManagedClusterResult", "ipv6Address");
            }
            this.ipv6Address = ipv6Address;
            return this;
        }
        @CustomType.Setter
        public Builder loadBalancingRules(@Nullable List loadBalancingRules) {

            this.loadBalancingRules = loadBalancingRules;
            return this;
        }
        public Builder loadBalancingRules(LoadBalancingRuleResponse... loadBalancingRules) {
            return loadBalancingRules(List.of(loadBalancingRules));
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetManagedClusterResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetManagedClusterResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder networkSecurityRules(@Nullable List networkSecurityRules) {

            this.networkSecurityRules = networkSecurityRules;
            return this;
        }
        public Builder networkSecurityRules(NetworkSecurityRuleResponse... networkSecurityRules) {
            return networkSecurityRules(List.of(networkSecurityRules));
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetManagedClusterResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder publicIPPrefixId(@Nullable String publicIPPrefixId) {

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

            this.serviceEndpoints = serviceEndpoints;
            return this;
        }
        public Builder serviceEndpoints(ServiceEndpointResponse... serviceEndpoints) {
            return serviceEndpoints(List.of(serviceEndpoints));
        }
        @CustomType.Setter
        public Builder sku(SkuResponse sku) {
            if (sku == null) {
              throw new MissingRequiredPropertyException("GetManagedClusterResult", "sku");
            }
            this.sku = sku;
            return this;
        }
        @CustomType.Setter
        public Builder subnetId(@Nullable String subnetId) {

            this.subnetId = subnetId;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetManagedClusterResult", "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("GetManagedClusterResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder useCustomVnet(@Nullable Boolean useCustomVnet) {

            this.useCustomVnet = useCustomVnet;
            return this;
        }
        @CustomType.Setter
        public Builder zonalResiliency(@Nullable Boolean zonalResiliency) {

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

            this.zonalUpdateMode = zonalUpdateMode;
            return this;
        }
        public GetManagedClusterResult build() {
            final var _resultValue = new GetManagedClusterResult();
            _resultValue.addonFeatures = addonFeatures;
            _resultValue.adminPassword = adminPassword;
            _resultValue.adminUserName = adminUserName;
            _resultValue.allowRdpAccess = allowRdpAccess;
            _resultValue.applicationTypeVersionsCleanupPolicy = applicationTypeVersionsCleanupPolicy;
            _resultValue.auxiliarySubnets = auxiliarySubnets;
            _resultValue.azureActiveDirectory = azureActiveDirectory;
            _resultValue.clientConnectionPort = clientConnectionPort;
            _resultValue.clients = clients;
            _resultValue.clusterCertificateThumbprints = clusterCertificateThumbprints;
            _resultValue.clusterCodeVersion = clusterCodeVersion;
            _resultValue.clusterId = clusterId;
            _resultValue.clusterState = clusterState;
            _resultValue.clusterUpgradeCadence = clusterUpgradeCadence;
            _resultValue.clusterUpgradeMode = clusterUpgradeMode;
            _resultValue.dnsName = dnsName;
            _resultValue.enableAutoOSUpgrade = enableAutoOSUpgrade;
            _resultValue.enableIpv6 = enableIpv6;
            _resultValue.enableServicePublicIP = enableServicePublicIP;
            _resultValue.etag = etag;
            _resultValue.fabricSettings = fabricSettings;
            _resultValue.fqdn = fqdn;
            _resultValue.httpGatewayConnectionPort = httpGatewayConnectionPort;
            _resultValue.id = id;
            _resultValue.ipTags = ipTags;
            _resultValue.ipv4Address = ipv4Address;
            _resultValue.ipv6Address = ipv6Address;
            _resultValue.loadBalancingRules = loadBalancingRules;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.networkSecurityRules = networkSecurityRules;
            _resultValue.provisioningState = provisioningState;
            _resultValue.publicIPPrefixId = publicIPPrefixId;
            _resultValue.serviceEndpoints = serviceEndpoints;
            _resultValue.sku = sku;
            _resultValue.subnetId = subnetId;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.type = type;
            _resultValue.useCustomVnet = useCustomVnet;
            _resultValue.zonalResiliency = zonalResiliency;
            _resultValue.zonalUpdateMode = zonalUpdateMode;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy