Class WorkerPoolState.Builder

  • Enclosing class:
    WorkerPoolState

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

      • Builder

        public Builder()
    • Method Detail

      • annotations

        public WorkerPoolState.Builder annotations​(@Nullable
                                                   com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> annotations)
        Parameters:
        annotations - User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.
        Returns:
        builder
      • annotations

        public WorkerPoolState.Builder annotations​(java.util.Map<java.lang.String,​java.lang.String> annotations)
        Parameters:
        annotations - User specified annotations. See https://google.aip.dev/128#annotations for more details such as format and size limitations. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field `effective_annotations` for all of the annotations present on the resource.
        Returns:
        builder
      • createTime

        public WorkerPoolState.Builder createTime​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> createTime)
        Parameters:
        createTime - Output only. Time at which the request to create the `WorkerPool` was received.
        Returns:
        builder
      • createTime

        public WorkerPoolState.Builder createTime​(java.lang.String createTime)
        Parameters:
        createTime - Output only. Time at which the request to create the `WorkerPool` was received.
        Returns:
        builder
      • deleteTime

        public WorkerPoolState.Builder deleteTime​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> deleteTime)
        Parameters:
        deleteTime - Output only. Time at which the request to delete the `WorkerPool` was received.
        Returns:
        builder
      • deleteTime

        public WorkerPoolState.Builder deleteTime​(java.lang.String deleteTime)
        Parameters:
        deleteTime - Output only. Time at which the request to delete the `WorkerPool` was received.
        Returns:
        builder
      • displayName

        public WorkerPoolState.Builder displayName​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> displayName)
        Parameters:
        displayName - A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters.
        Returns:
        builder
      • displayName

        public WorkerPoolState.Builder displayName​(java.lang.String displayName)
        Parameters:
        displayName - A user-specified, human-readable name for the `WorkerPool`. If provided, this value must be 1-63 characters.
        Returns:
        builder
      • effectiveAnnotations

        public WorkerPoolState.Builder effectiveAnnotations​(@Nullable
                                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> effectiveAnnotations)
        Parameters:
        effectiveAnnotations - All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
        Returns:
        builder
      • effectiveAnnotations

        public WorkerPoolState.Builder effectiveAnnotations​(java.util.Map<java.lang.String,​java.lang.Object> effectiveAnnotations)
        Parameters:
        effectiveAnnotations - All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.
        Returns:
        builder
      • location

        public WorkerPoolState.Builder location​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> location)
        Parameters:
        location - The location for the resource
        Returns:
        builder
      • location

        public WorkerPoolState.Builder location​(java.lang.String location)
        Parameters:
        location - The location for the resource
        Returns:
        builder
      • name

        public WorkerPoolState.Builder name​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - User-defined name of the `WorkerPool`. ***
        Returns:
        builder
      • name

        public WorkerPoolState.Builder name​(java.lang.String name)
        Parameters:
        name - User-defined name of the `WorkerPool`. ***
        Returns:
        builder
      • networkConfig

        public WorkerPoolState.Builder networkConfig​(@Nullable
                                                     com.pulumi.core.Output<WorkerPoolNetworkConfigArgs> networkConfig)
        Parameters:
        networkConfig - Network configuration for the `WorkerPool`. Structure is documented below.
        Returns:
        builder
      • project

        public WorkerPoolState.Builder project​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The project for the resource
        Returns:
        builder
      • project

        public WorkerPoolState.Builder project​(java.lang.String project)
        Parameters:
        project - The project for the resource
        Returns:
        builder
      • state

        public WorkerPoolState.Builder state​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> state)
        Parameters:
        state - Output only. WorkerPool state. Possible values: STATE_UNSPECIFIED, PENDING, APPROVED, REJECTED, CANCELLED
        Returns:
        builder
      • state

        public WorkerPoolState.Builder state​(java.lang.String state)
        Parameters:
        state - Output only. WorkerPool state. Possible values: STATE_UNSPECIFIED, PENDING, APPROVED, REJECTED, CANCELLED
        Returns:
        builder
      • uid

        public WorkerPoolState.Builder uid​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> uid)
        Parameters:
        uid - Output only. A unique identifier for the `WorkerPool`.
        Returns:
        builder
      • uid

        public WorkerPoolState.Builder uid​(java.lang.String uid)
        Parameters:
        uid - Output only. A unique identifier for the `WorkerPool`.
        Returns:
        builder
      • updateTime

        public WorkerPoolState.Builder updateTime​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> updateTime)
        Parameters:
        updateTime - Output only. Time at which the request to update the `WorkerPool` was received.
        Returns:
        builder
      • updateTime

        public WorkerPoolState.Builder updateTime​(java.lang.String updateTime)
        Parameters:
        updateTime - Output only. Time at which the request to update the `WorkerPool` was received.
        Returns:
        builder
      • workerConfig

        public WorkerPoolState.Builder workerConfig​(@Nullable
                                                    com.pulumi.core.Output<WorkerPoolWorkerConfigArgs> workerConfig)
        Parameters:
        workerConfig - Configuration to be used for a creating workers in the `WorkerPool`. Structure is documented below.
        Returns:
        builder
      • workerConfig

        public WorkerPoolState.Builder workerConfig​(WorkerPoolWorkerConfigArgs workerConfig)
        Parameters:
        workerConfig - Configuration to be used for a creating workers in the `WorkerPool`. Structure is documented below.
        Returns:
        builder