Class NodeGroupState.Builder

  • Enclosing class:
    NodeGroupState

    public static final class NodeGroupState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • clusterId

        public NodeGroupState.Builder clusterId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> clusterId)
        Parameters:
        clusterId - The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
        Returns:
        builder
      • clusterId

        public NodeGroupState.Builder clusterId​(java.lang.String clusterId)
        Parameters:
        clusterId - The UUID of the V1 Container Infra cluster. Changing this creates a new node group.
        Returns:
        builder
      • createdAt

        public NodeGroupState.Builder createdAt​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> createdAt)
      • dockerVolumeSize

        public NodeGroupState.Builder dockerVolumeSize​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Integer> dockerVolumeSize)
        Parameters:
        dockerVolumeSize - The size (in GB) of the Docker volume. Changing this creates a new node group.
        Returns:
        builder
      • dockerVolumeSize

        public NodeGroupState.Builder dockerVolumeSize​(java.lang.Integer dockerVolumeSize)
        Parameters:
        dockerVolumeSize - The size (in GB) of the Docker volume. Changing this creates a new node group.
        Returns:
        builder
      • flavorId

        public NodeGroupState.Builder flavorId​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> flavorId)
        Parameters:
        flavorId - The flavor for the nodes of the node group. Can be set via the `OS_MAGNUM_FLAVOR` environment variable. Changing this creates a new node group.
        Returns:
        builder
      • flavorId

        public NodeGroupState.Builder flavorId​(java.lang.String flavorId)
        Parameters:
        flavorId - The flavor for the nodes of the node group. Can be set via the `OS_MAGNUM_FLAVOR` environment variable. Changing this creates a new node group.
        Returns:
        builder
      • imageId

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

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

        public NodeGroupState.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 node group. Changing this creates a new node group.
        Returns:
        builder
      • labels

        public NodeGroupState.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 node group. Changing this creates a new node group.
        Returns:
        builder
      • maxNodeCount

        public NodeGroupState.Builder maxNodeCount​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Integer> maxNodeCount)
        Parameters:
        maxNodeCount - The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
        Returns:
        builder
      • maxNodeCount

        public NodeGroupState.Builder maxNodeCount​(java.lang.Integer maxNodeCount)
        Parameters:
        maxNodeCount - The maximum number of nodes for the node group. Changing this update the maximum number of nodes of the node group.
        Returns:
        builder
      • mergeLabels

        public NodeGroupState.Builder mergeLabels​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Boolean> mergeLabels)
        Parameters:
        mergeLabels - Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
        Returns:
        builder
      • mergeLabels

        public NodeGroupState.Builder mergeLabels​(java.lang.Boolean mergeLabels)
        Parameters:
        mergeLabels - Indicates whether the provided labels should be merged with cluster labels. Changing this creates a new nodegroup.
        Returns:
        builder
      • minNodeCount

        public NodeGroupState.Builder minNodeCount​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Integer> minNodeCount)
        Parameters:
        minNodeCount - The minimum number of nodes for the node group. Changing this update the minimum number of nodes of the node group.
        Returns:
        builder
      • minNodeCount

        public NodeGroupState.Builder minNodeCount​(java.lang.Integer minNodeCount)
        Parameters:
        minNodeCount - The minimum number of nodes for the node group. Changing this update the minimum number of nodes of the node group.
        Returns:
        builder
      • name

        public NodeGroupState.Builder name​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the node group. Changing this creates a new node group.
        Returns:
        builder
      • name

        public NodeGroupState.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the node group. Changing this creates a new node group.
        Returns:
        builder
      • nodeCount

        public NodeGroupState.Builder nodeCount​(@Nullable
                                                com.pulumi.core.Output<java.lang.Integer> nodeCount)
        Parameters:
        nodeCount - The number of nodes for the node group. Changing this update the number of nodes of the node group.
        Returns:
        builder
      • nodeCount

        public NodeGroupState.Builder nodeCount​(java.lang.Integer nodeCount)
        Parameters:
        nodeCount - The number of nodes for the node group. Changing this update the number of nodes of the node group.
        Returns:
        builder
      • projectId

        public NodeGroupState.Builder projectId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> projectId)
        Parameters:
        projectId - The project of the node group. Required if admin wants to create a cluster in another project. Changing this creates a new node group.
        Returns:
        builder
      • projectId

        public NodeGroupState.Builder projectId​(java.lang.String projectId)
        Parameters:
        projectId - The project of the node group. Required if admin wants to create a cluster in another project. Changing this creates a new node group.
        Returns:
        builder
      • region

        public NodeGroupState.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. If omitted, the `region` argument of the provider is used. Changing this creates a new node group.
        Returns:
        builder
      • region

        public NodeGroupState.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. If omitted, the `region` argument of the provider is used. Changing this creates a new node group.
        Returns:
        builder
      • role

        public NodeGroupState.Builder role​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> role)
        Parameters:
        role - The role of nodes in the node group. Changing this creates a new node group.
        Returns:
        builder
      • role

        public NodeGroupState.Builder role​(java.lang.String role)
        Parameters:
        role - The role of nodes in the node group. Changing this creates a new node group.
        Returns:
        builder
      • updatedAt

        public NodeGroupState.Builder updatedAt​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> updatedAt)