Class TargetState.Builder

  • Enclosing class:
    TargetState

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

      • Builder

        public Builder()
    • Method Detail

      • annotations

        public TargetState.Builder annotations​(@Nullable
                                               com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> annotations)
        Parameters:
        annotations - Optional. User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. 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 TargetState.Builder annotations​(java.util.Map<java.lang.String,​java.lang.String> annotations)
        Parameters:
        annotations - Optional. User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. 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
      • anthosCluster

        public TargetState.Builder anthosCluster​(@Nullable
                                                 com.pulumi.core.Output<TargetAnthosClusterArgs> anthosCluster)
        Parameters:
        anthosCluster - Information specifying an Anthos Cluster.
        Returns:
        builder
      • createTime

        public TargetState.Builder createTime​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> createTime)
        Parameters:
        createTime - Output only. Time at which the `Target` was created.
        Returns:
        builder
      • createTime

        public TargetState.Builder createTime​(java.lang.String createTime)
        Parameters:
        createTime - Output only. Time at which the `Target` was created.
        Returns:
        builder
      • deployParameters

        public TargetState.Builder deployParameters​(@Nullable
                                                    com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> deployParameters)
        Parameters:
        deployParameters - Optional. The deploy parameters to use for this target.
        Returns:
        builder
      • deployParameters

        public TargetState.Builder deployParameters​(java.util.Map<java.lang.String,​java.lang.String> deployParameters)
        Parameters:
        deployParameters - Optional. The deploy parameters to use for this target.
        Returns:
        builder
      • description

        public TargetState.Builder description​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Optional. Description of the `Target`. Max length is 255 characters.
        Returns:
        builder
      • description

        public TargetState.Builder description​(java.lang.String description)
        Parameters:
        description - Optional. Description of the `Target`. Max length is 255 characters.
        Returns:
        builder
      • effectiveAnnotations

        public TargetState.Builder effectiveAnnotations​(@Nullable
                                                        com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> effectiveAnnotations)
      • effectiveAnnotations

        public TargetState.Builder effectiveAnnotations​(java.util.Map<java.lang.String,​java.lang.Object> effectiveAnnotations)
      • effectiveLabels

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

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

        public TargetState.Builder etag​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> etag)
        Parameters:
        etag - Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
        Returns:
        builder
      • etag

        public TargetState.Builder etag​(java.lang.String etag)
        Parameters:
        etag - Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
        Returns:
        builder
      • executionConfigs

        public TargetState.Builder executionConfigs​(@Nullable
                                                    com.pulumi.core.Output<java.util.List<TargetExecutionConfigArgs>> executionConfigs)
        Parameters:
        executionConfigs - Configurations for all execution that relates to this `Target`. Each `ExecutionEnvironmentUsage` value may only be used in a single configuration; using the same value multiple times is an error. When one or more configurations are specified, they must include the `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values. When no configurations are specified, execution will use the default specified in `DefaultPool`.
        Returns:
        builder
      • executionConfigs

        public TargetState.Builder executionConfigs​(java.util.List<TargetExecutionConfigArgs> executionConfigs)
        Parameters:
        executionConfigs - Configurations for all execution that relates to this `Target`. Each `ExecutionEnvironmentUsage` value may only be used in a single configuration; using the same value multiple times is an error. When one or more configurations are specified, they must include the `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values. When no configurations are specified, execution will use the default specified in `DefaultPool`.
        Returns:
        builder
      • executionConfigs

        public TargetState.Builder executionConfigs​(TargetExecutionConfigArgs... executionConfigs)
        Parameters:
        executionConfigs - Configurations for all execution that relates to this `Target`. Each `ExecutionEnvironmentUsage` value may only be used in a single configuration; using the same value multiple times is an error. When one or more configurations are specified, they must include the `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values. When no configurations are specified, execution will use the default specified in `DefaultPool`.
        Returns:
        builder
      • gke

        public TargetState.Builder gke​(@Nullable
                                       com.pulumi.core.Output<TargetGkeArgs> gke)
        Parameters:
        gke - Information specifying a GKE Cluster.
        Returns:
        builder
      • labels

        public TargetState.Builder labels​(@Nullable
                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> labels)
        Parameters:
        labels - Optional. Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effective_labels` for all of the labels present on the resource.
        Returns:
        builder
      • labels

        public TargetState.Builder labels​(java.util.Map<java.lang.String,​java.lang.String> labels)
        Parameters:
        labels - Optional. Labels are attributes that can be set and used by both the user and by Google Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effective_labels` for all of the labels present on the resource.
        Returns:
        builder
      • location

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

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

        public TargetState.Builder multiTarget​(@Nullable
                                               com.pulumi.core.Output<TargetMultiTargetArgs> multiTarget)
        Parameters:
        multiTarget - Information specifying a multiTarget.
        Returns:
        builder
      • name

        public TargetState.Builder name​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the `Target`. Format is [a-z][a-z0-9\-]{0,62}. ***
        Returns:
        builder
      • name

        public TargetState.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the `Target`. Format is [a-z][a-z0-9\-]{0,62}. ***
        Returns:
        builder
      • project

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

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

        public TargetState.Builder pulumiLabels​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> pulumiLabels)
        Parameters:
        pulumiLabels - The combination of labels configured directly on the resource and default labels configured on the provider.
        Returns:
        builder
      • pulumiLabels

        public TargetState.Builder pulumiLabels​(java.util.Map<java.lang.String,​java.lang.Object> pulumiLabels)
        Parameters:
        pulumiLabels - The combination of labels configured directly on the resource and default labels configured on the provider.
        Returns:
        builder
      • requireApproval

        public TargetState.Builder requireApproval​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Boolean> requireApproval)
        Parameters:
        requireApproval - Optional. Whether or not the `Target` requires approval.
        Returns:
        builder
      • requireApproval

        public TargetState.Builder requireApproval​(java.lang.Boolean requireApproval)
        Parameters:
        requireApproval - Optional. Whether or not the `Target` requires approval.
        Returns:
        builder
      • run

        public TargetState.Builder run​(@Nullable
                                       com.pulumi.core.Output<TargetRunArgs> run)
        Parameters:
        run - Information specifying a Cloud Run deployment target.
        Returns:
        builder
      • targetId

        public TargetState.Builder targetId​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> targetId)
        Parameters:
        targetId - Output only. Resource id of the `Target`.
        Returns:
        builder
      • targetId

        public TargetState.Builder targetId​(java.lang.String targetId)
        Parameters:
        targetId - Output only. Resource id of the `Target`.
        Returns:
        builder
      • uid

        public TargetState.Builder uid​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> uid)
        Parameters:
        uid - Output only. Unique identifier of the `Target`.
        Returns:
        builder
      • uid

        public TargetState.Builder uid​(java.lang.String uid)
        Parameters:
        uid - Output only. Unique identifier of the `Target`.
        Returns:
        builder
      • updateTime

        public TargetState.Builder updateTime​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> updateTime)
        Parameters:
        updateTime - Output only. Most recent time at which the `Target` was updated.
        Returns:
        builder
      • updateTime

        public TargetState.Builder updateTime​(java.lang.String updateTime)
        Parameters:
        updateTime - Output only. Most recent time at which the `Target` was updated.
        Returns:
        builder