Class ClusterTemplateArgs.Builder

  • Enclosing class:
    ClusterTemplateArgs

    public static final class ClusterTemplateArgs.Builder
    extends java.lang.Object
    • Method Detail

      • apiserverPort

        public ClusterTemplateArgs.Builder apiserverPort​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Integer> apiserverPort)
        Parameters:
        apiserverPort - The API server port for the Container Orchestration Engine for this cluster template. Changing this updates the API server port of the existing cluster template.
        Returns:
        builder
      • apiserverPort

        public ClusterTemplateArgs.Builder apiserverPort​(java.lang.Integer apiserverPort)
        Parameters:
        apiserverPort - The API server port for the Container Orchestration Engine for this cluster template. Changing this updates the API server port of the existing cluster template.
        Returns:
        builder
      • clusterDistro

        public ClusterTemplateArgs.Builder clusterDistro​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> clusterDistro)
        Parameters:
        clusterDistro - The distro for the cluster (fedora-atomic, coreos, etc.). Changing this updates the cluster distro of the existing cluster template.
        Returns:
        builder
      • clusterDistro

        public ClusterTemplateArgs.Builder clusterDistro​(java.lang.String clusterDistro)
        Parameters:
        clusterDistro - The distro for the cluster (fedora-atomic, coreos, etc.). Changing this updates the cluster distro of the existing cluster template.
        Returns:
        builder
      • coe

        public ClusterTemplateArgs.Builder coe​(com.pulumi.core.Output<java.lang.String> coe)
        Parameters:
        coe - The Container Orchestration Engine for this cluster template. Changing this updates the engine of the existing cluster template.
        Returns:
        builder
      • coe

        public ClusterTemplateArgs.Builder coe​(java.lang.String coe)
        Parameters:
        coe - The Container Orchestration Engine for this cluster template. Changing this updates the engine of the existing cluster template.
        Returns:
        builder
      • dnsNameserver

        public ClusterTemplateArgs.Builder dnsNameserver​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> dnsNameserver)
        Parameters:
        dnsNameserver - Address of the DNS nameserver that is used in nodes of the cluster. Changing this updates the DNS nameserver of the existing cluster template.
        Returns:
        builder
      • dnsNameserver

        public ClusterTemplateArgs.Builder dnsNameserver​(java.lang.String dnsNameserver)
        Parameters:
        dnsNameserver - Address of the DNS nameserver that is used in nodes of the cluster. Changing this updates the DNS nameserver of the existing cluster template.
        Returns:
        builder
      • dockerStorageDriver

        public ClusterTemplateArgs.Builder dockerStorageDriver​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> dockerStorageDriver)
        Parameters:
        dockerStorageDriver - Docker storage driver. Changing this updates the Docker storage driver of the existing cluster template.
        Returns:
        builder
      • dockerStorageDriver

        public ClusterTemplateArgs.Builder dockerStorageDriver​(java.lang.String dockerStorageDriver)
        Parameters:
        dockerStorageDriver - Docker storage driver. Changing this updates the Docker storage driver of the existing cluster template.
        Returns:
        builder
      • dockerVolumeSize

        public ClusterTemplateArgs.Builder dockerVolumeSize​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Integer> dockerVolumeSize)
        Parameters:
        dockerVolumeSize - The size (in GB) of the Docker volume. Changing this updates the Docker volume size of the existing cluster template.
        Returns:
        builder
      • dockerVolumeSize

        public ClusterTemplateArgs.Builder dockerVolumeSize​(java.lang.Integer dockerVolumeSize)
        Parameters:
        dockerVolumeSize - The size (in GB) of the Docker volume. Changing this updates the Docker volume size of the existing cluster template.
        Returns:
        builder
      • externalNetworkId

        public ClusterTemplateArgs.Builder externalNetworkId​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> externalNetworkId)
        Parameters:
        externalNetworkId - The ID of the external network that will be used for the cluster. Changing this updates the external network ID of the existing cluster template.
        Returns:
        builder
      • externalNetworkId

        public ClusterTemplateArgs.Builder externalNetworkId​(java.lang.String externalNetworkId)
        Parameters:
        externalNetworkId - The ID of the external network that will be used for the cluster. Changing this updates the external network ID of the existing cluster template.
        Returns:
        builder
      • fixedNetwork

        public ClusterTemplateArgs.Builder fixedNetwork​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> fixedNetwork)
        Parameters:
        fixedNetwork - The fixed network that will be attached to the cluster. Changing this updates the fixed network of the existing cluster template.
        Returns:
        builder
      • fixedNetwork

        public ClusterTemplateArgs.Builder fixedNetwork​(java.lang.String fixedNetwork)
        Parameters:
        fixedNetwork - The fixed network that will be attached to the cluster. Changing this updates the fixed network of the existing cluster template.
        Returns:
        builder
      • fixedSubnet

        public ClusterTemplateArgs.Builder fixedSubnet​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> fixedSubnet)
        Parameters:
        fixedSubnet - The fixed subnet that will be attached to the cluster. Changing this updates the fixed subnet of the existing cluster template.
        Returns:
        builder
      • fixedSubnet

        public ClusterTemplateArgs.Builder fixedSubnet​(java.lang.String fixedSubnet)
        Parameters:
        fixedSubnet - The fixed subnet that will be attached to the cluster. Changing this updates the fixed subnet of the existing cluster template.
        Returns:
        builder
      • flavor

        public ClusterTemplateArgs.Builder flavor​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> flavor)
        Parameters:
        flavor - The flavor for the nodes of the cluster. Can be set via the `OS_MAGNUM_FLAVOR` environment variable. Changing this updates the flavor of the existing cluster template.
        Returns:
        builder
      • flavor

        public ClusterTemplateArgs.Builder flavor​(java.lang.String flavor)
        Parameters:
        flavor - The flavor for the nodes of the cluster. Can be set via the `OS_MAGNUM_FLAVOR` environment variable. Changing this updates the flavor of the existing cluster template.
        Returns:
        builder
      • floatingIpEnabled

        public ClusterTemplateArgs.Builder floatingIpEnabled​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> floatingIpEnabled)
        Parameters:
        floatingIpEnabled - Indicates whether created cluster should create floating IP for every node or not. Changing this updates the floating IP enabled attribute of the existing cluster template.
        Returns:
        builder
      • floatingIpEnabled

        public ClusterTemplateArgs.Builder floatingIpEnabled​(java.lang.Boolean floatingIpEnabled)
        Parameters:
        floatingIpEnabled - Indicates whether created cluster should create floating IP for every node or not. Changing this updates the floating IP enabled attribute of the existing cluster template.
        Returns:
        builder
      • hidden

        public ClusterTemplateArgs.Builder hidden​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Boolean> hidden)
        Parameters:
        hidden - Indicates whether the ClusterTemplate is hidden or not. Changing this updates the hidden attribute of the existing cluster template.
        Returns:
        builder
      • hidden

        public ClusterTemplateArgs.Builder hidden​(java.lang.Boolean hidden)
        Parameters:
        hidden - Indicates whether the ClusterTemplate is hidden or not. Changing this updates the hidden attribute of the existing cluster template.
        Returns:
        builder
      • httpProxy

        public ClusterTemplateArgs.Builder httpProxy​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> httpProxy)
        Parameters:
        httpProxy - The address of a proxy for receiving all HTTP requests and relay them. Changing this updates the HTTP proxy address of the existing cluster template.
        Returns:
        builder
      • httpProxy

        public ClusterTemplateArgs.Builder httpProxy​(java.lang.String httpProxy)
        Parameters:
        httpProxy - The address of a proxy for receiving all HTTP requests and relay them. Changing this updates the HTTP proxy address of the existing cluster template.
        Returns:
        builder
      • httpsProxy

        public ClusterTemplateArgs.Builder httpsProxy​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> httpsProxy)
        Parameters:
        httpsProxy - The address of a proxy for receiving all HTTPS requests and relay them. Changing this updates the HTTPS proxy address of the existing cluster template.
        Returns:
        builder
      • httpsProxy

        public ClusterTemplateArgs.Builder httpsProxy​(java.lang.String httpsProxy)
        Parameters:
        httpsProxy - The address of a proxy for receiving all HTTPS requests and relay them. Changing this updates the HTTPS proxy address of the existing cluster template.
        Returns:
        builder
      • image

        public ClusterTemplateArgs.Builder image​(com.pulumi.core.Output<java.lang.String> image)
        Parameters:
        image - The reference to an image that is used for nodes of the cluster. Can be set via the `OS_MAGNUM_IMAGE` environment variable. Changing this updates the image attribute of the existing cluster template.
        Returns:
        builder
      • image

        public ClusterTemplateArgs.Builder image​(java.lang.String image)
        Parameters:
        image - The reference to an image that is used for nodes of the cluster. Can be set via the `OS_MAGNUM_IMAGE` environment variable. Changing this updates the image attribute of the existing cluster template.
        Returns:
        builder
      • insecureRegistry

        public ClusterTemplateArgs.Builder insecureRegistry​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> insecureRegistry)
        Parameters:
        insecureRegistry - The insecure registry URL for the cluster template. Changing this updates the insecure registry attribute of the existing cluster template.
        Returns:
        builder
      • insecureRegistry

        public ClusterTemplateArgs.Builder insecureRegistry​(java.lang.String insecureRegistry)
        Parameters:
        insecureRegistry - The insecure registry URL for the cluster template. Changing this updates the insecure registry attribute of the existing cluster template.
        Returns:
        builder
      • keypairId

        public ClusterTemplateArgs.Builder keypairId​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> keypairId)
        Parameters:
        keypairId - The name of the Compute service SSH keypair. Changing this updates the keypair of the existing cluster template.
        Returns:
        builder
      • keypairId

        public ClusterTemplateArgs.Builder keypairId​(java.lang.String keypairId)
        Parameters:
        keypairId - The name of the Compute service SSH keypair. Changing this updates the keypair of the existing cluster template.
        Returns:
        builder
      • labels

        public ClusterTemplateArgs.Builder labels​(@Nullable
                                                  com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> labels)
        Parameters:
        labels - The list of key value pairs representing additional properties of the cluster template. Changing this updates the labels of the existing cluster template.
        Returns:
        builder
      • labels

        public ClusterTemplateArgs.Builder labels​(java.util.Map<java.lang.String,​java.lang.Object> labels)
        Parameters:
        labels - The list of key value pairs representing additional properties of the cluster template. Changing this updates the labels of the existing cluster template.
        Returns:
        builder
      • masterFlavor

        public ClusterTemplateArgs.Builder masterFlavor​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> masterFlavor)
        Parameters:
        masterFlavor - The flavor for the master nodes. Can be set via the `OS_MAGNUM_MASTER_FLAVOR` environment variable. Changing this updates the master flavor of the existing cluster template.
        Returns:
        builder
      • masterFlavor

        public ClusterTemplateArgs.Builder masterFlavor​(java.lang.String masterFlavor)
        Parameters:
        masterFlavor - The flavor for the master nodes. Can be set via the `OS_MAGNUM_MASTER_FLAVOR` environment variable. Changing this updates the master flavor of the existing cluster template.
        Returns:
        builder
      • masterLbEnabled

        public ClusterTemplateArgs.Builder masterLbEnabled​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Boolean> masterLbEnabled)
        Parameters:
        masterLbEnabled - Indicates whether created cluster should has a loadbalancer for master nodes or not. Changing this updates the attribute of the existing cluster template.
        Returns:
        builder
      • masterLbEnabled

        public ClusterTemplateArgs.Builder masterLbEnabled​(java.lang.Boolean masterLbEnabled)
        Parameters:
        masterLbEnabled - Indicates whether created cluster should has a loadbalancer for master nodes or not. Changing this updates the attribute of the existing cluster template.
        Returns:
        builder
      • name

        public ClusterTemplateArgs.Builder name​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the cluster template. Changing this updates the name of the existing cluster template.
        Returns:
        builder
      • name

        public ClusterTemplateArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the cluster template. Changing this updates the name of the existing cluster template.
        Returns:
        builder
      • networkDriver

        public ClusterTemplateArgs.Builder networkDriver​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> networkDriver)
        Parameters:
        networkDriver - The name of the driver for the container network. Changing this updates the network driver of the existing cluster template.
        Returns:
        builder
      • networkDriver

        public ClusterTemplateArgs.Builder networkDriver​(java.lang.String networkDriver)
        Parameters:
        networkDriver - The name of the driver for the container network. Changing this updates the network driver of the existing cluster template.
        Returns:
        builder
      • noProxy

        public ClusterTemplateArgs.Builder noProxy​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> noProxy)
        Parameters:
        noProxy - A comma-separated list of IP addresses that shouldn't be used in the cluster. Changing this updates the no proxy list of the existing cluster template.
        Returns:
        builder
      • noProxy

        public ClusterTemplateArgs.Builder noProxy​(java.lang.String noProxy)
        Parameters:
        noProxy - A comma-separated list of IP addresses that shouldn't be used in the cluster. Changing this updates the no proxy list of the existing cluster template.
        Returns:
        builder
      • public_

        public ClusterTemplateArgs.Builder public_​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Boolean> public_)
        Parameters:
        public_ - Indicates whether cluster template should be public. Changing this updates the public attribute of the existing cluster template.
        Returns:
        builder
      • public_

        public ClusterTemplateArgs.Builder public_​(java.lang.Boolean public_)
        Parameters:
        public_ - Indicates whether cluster template should be public. Changing this updates the public attribute of the existing cluster template.
        Returns:
        builder
      • region

        public ClusterTemplateArgs.Builder region​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - The region in which to obtain the V1 Container Infra client. A Container Infra client is needed to create a cluster template. If omitted,the `region` argument of the provider is used. Changing this creates a new cluster template.
        Returns:
        builder
      • region

        public ClusterTemplateArgs.Builder region​(java.lang.String region)
        Parameters:
        region - The region in which to obtain the V1 Container Infra client. A Container Infra client is needed to create a cluster template. If omitted,the `region` argument of the provider is used. Changing this creates a new cluster template.
        Returns:
        builder
      • registryEnabled

        public ClusterTemplateArgs.Builder registryEnabled​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Boolean> registryEnabled)
        Parameters:
        registryEnabled - Indicates whether Docker registry is enabled in the cluster. Changing this updates the registry enabled attribute of the existing cluster template.
        Returns:
        builder
      • registryEnabled

        public ClusterTemplateArgs.Builder registryEnabled​(java.lang.Boolean registryEnabled)
        Parameters:
        registryEnabled - Indicates whether Docker registry is enabled in the cluster. Changing this updates the registry enabled attribute of the existing cluster template.
        Returns:
        builder
      • serverType

        public ClusterTemplateArgs.Builder serverType​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> serverType)
        Parameters:
        serverType - The server type for the cluster template. Changing this updates the server type of the existing cluster template.
        Returns:
        builder
      • serverType

        public ClusterTemplateArgs.Builder serverType​(java.lang.String serverType)
        Parameters:
        serverType - The server type for the cluster template. Changing this updates the server type of the existing cluster template.
        Returns:
        builder
      • tlsDisabled

        public ClusterTemplateArgs.Builder tlsDisabled​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Boolean> tlsDisabled)
        Parameters:
        tlsDisabled - Indicates whether the TLS should be disabled in the cluster. Changing this updates the attribute of the existing cluster.
        Returns:
        builder
      • tlsDisabled

        public ClusterTemplateArgs.Builder tlsDisabled​(java.lang.Boolean tlsDisabled)
        Parameters:
        tlsDisabled - Indicates whether the TLS should be disabled in the cluster. Changing this updates the attribute of the existing cluster.
        Returns:
        builder
      • volumeDriver

        public ClusterTemplateArgs.Builder volumeDriver​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> volumeDriver)
        Parameters:
        volumeDriver - The name of the driver that is used for the volumes of the cluster nodes. Changing this updates the volume driver of the existing cluster template.
        Returns:
        builder
      • volumeDriver

        public ClusterTemplateArgs.Builder volumeDriver​(java.lang.String volumeDriver)
        Parameters:
        volumeDriver - The name of the driver that is used for the volumes of the cluster nodes. Changing this updates the volume driver of the existing cluster template.
        Returns:
        builder