Class NodeGroupState.Builder

  • Enclosing class:
    NodeGroupState

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

      • Builder

        public Builder()
    • Method Detail

      • autoscalingPolicy

        public NodeGroupState.Builder autoscalingPolicy​(@Nullable
                                                        com.pulumi.core.Output<NodeGroupAutoscalingPolicyArgs> autoscalingPolicy)
        Parameters:
        autoscalingPolicy - If you use sole-tenant nodes for your workloads, you can use the node group autoscaler to automatically manage the sizes of your node groups. Structure is documented below.
        Returns:
        builder
      • autoscalingPolicy

        public NodeGroupState.Builder autoscalingPolicy​(NodeGroupAutoscalingPolicyArgs autoscalingPolicy)
        Parameters:
        autoscalingPolicy - If you use sole-tenant nodes for your workloads, you can use the node group autoscaler to automatically manage the sizes of your node groups. Structure is documented below.
        Returns:
        builder
      • creationTimestamp

        public NodeGroupState.Builder creationTimestamp​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> creationTimestamp)
        Parameters:
        creationTimestamp - Creation timestamp in RFC3339 text format.
        Returns:
        builder
      • creationTimestamp

        public NodeGroupState.Builder creationTimestamp​(java.lang.String creationTimestamp)
        Parameters:
        creationTimestamp - Creation timestamp in RFC3339 text format.
        Returns:
        builder
      • description

        public NodeGroupState.Builder description​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - An optional textual description of the resource.
        Returns:
        builder
      • description

        public NodeGroupState.Builder description​(java.lang.String description)
        Parameters:
        description - An optional textual description of the resource.
        Returns:
        builder
      • initialSize

        public NodeGroupState.Builder initialSize​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Integer> initialSize)
        Parameters:
        initialSize - The initial number of nodes in the node group. One of `initial_size` or `size` must be specified.
        Returns:
        builder
      • initialSize

        public NodeGroupState.Builder initialSize​(java.lang.Integer initialSize)
        Parameters:
        initialSize - The initial number of nodes in the node group. One of `initial_size` or `size` must be specified.
        Returns:
        builder
      • maintenancePolicy

        public NodeGroupState.Builder maintenancePolicy​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> maintenancePolicy)
        Parameters:
        maintenancePolicy - Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT.
        Returns:
        builder
      • maintenancePolicy

        public NodeGroupState.Builder maintenancePolicy​(java.lang.String maintenancePolicy)
        Parameters:
        maintenancePolicy - Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT.
        Returns:
        builder
      • maintenanceWindow

        public NodeGroupState.Builder maintenanceWindow​(@Nullable
                                                        com.pulumi.core.Output<NodeGroupMaintenanceWindowArgs> maintenanceWindow)
        Parameters:
        maintenanceWindow - contains properties for the timeframe of maintenance Structure is documented below.
        Returns:
        builder
      • name

        public NodeGroupState.Builder name​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the resource.
        Returns:
        builder
      • name

        public NodeGroupState.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the resource.
        Returns:
        builder
      • nodeTemplate

        public NodeGroupState.Builder nodeTemplate​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> nodeTemplate)
        Parameters:
        nodeTemplate - The URL of the node template to which this node group belongs. ***
        Returns:
        builder
      • nodeTemplate

        public NodeGroupState.Builder nodeTemplate​(java.lang.String nodeTemplate)
        Parameters:
        nodeTemplate - The URL of the node template to which this node group belongs. ***
        Returns:
        builder
      • project

        public NodeGroupState.Builder project​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • project

        public NodeGroupState.Builder project​(java.lang.String project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • selfLink

        public NodeGroupState.Builder selfLink​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> selfLink)
        Parameters:
        selfLink - The URI of the created resource.
        Returns:
        builder
      • selfLink

        public NodeGroupState.Builder selfLink​(java.lang.String selfLink)
        Parameters:
        selfLink - The URI of the created resource.
        Returns:
        builder
      • shareSettings

        public NodeGroupState.Builder shareSettings​(@Nullable
                                                    com.pulumi.core.Output<NodeGroupShareSettingsArgs> shareSettings)
        Parameters:
        shareSettings - Share settings for the node group. Structure is documented below.
        Returns:
        builder
      • size

        public NodeGroupState.Builder size​(@Nullable
                                           com.pulumi.core.Output<java.lang.Integer> size)
        Parameters:
        size - The total number of nodes in the node group. One of `initial_size` or `size` must be specified.
        Returns:
        builder
      • size

        public NodeGroupState.Builder size​(java.lang.Integer size)
        Parameters:
        size - The total number of nodes in the node group. One of `initial_size` or `size` must be specified.
        Returns:
        builder
      • zone

        public NodeGroupState.Builder zone​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> zone)
        Parameters:
        zone - Zone where this node group is located
        Returns:
        builder
      • zone

        public NodeGroupState.Builder zone​(java.lang.String zone)
        Parameters:
        zone - Zone where this node group is located
        Returns:
        builder