Class RestorePlanState.Builder

  • Enclosing class:
    RestorePlanState

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

      • Builder

        public Builder()
    • Method Detail

      • backupPlan

        public RestorePlanState.Builder backupPlan​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> backupPlan)
        Parameters:
        backupPlan - A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan.
        Returns:
        builder
      • backupPlan

        public RestorePlanState.Builder backupPlan​(java.lang.String backupPlan)
        Parameters:
        backupPlan - A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan.
        Returns:
        builder
      • cluster

        public RestorePlanState.Builder cluster​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> cluster)
        Parameters:
        cluster - The source cluster from which Restores will be created via this RestorePlan.
        Returns:
        builder
      • cluster

        public RestorePlanState.Builder cluster​(java.lang.String cluster)
        Parameters:
        cluster - The source cluster from which Restores will be created via this RestorePlan.
        Returns:
        builder
      • description

        public RestorePlanState.Builder description​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - User specified descriptive string for this RestorePlan.
        Returns:
        builder
      • description

        public RestorePlanState.Builder description​(java.lang.String description)
        Parameters:
        description - User specified descriptive string for this RestorePlan.
        Returns:
        builder
      • effectiveLabels

        public RestorePlanState.Builder effectiveLabels​(@Nullable
                                                        com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> 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 RestorePlanState.Builder effectiveLabels​(java.util.Map<java.lang.String,​java.lang.String> 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
      • labels

        public RestorePlanState.Builder labels​(@Nullable
                                               com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> labels)
        Parameters:
        labels - Description: A set of custom labels supplied by the user. A list of key->value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. **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 RestorePlanState.Builder labels​(java.util.Map<java.lang.String,​java.lang.String> labels)
        Parameters:
        labels - Description: A set of custom labels supplied by the user. A list of key->value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. **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 RestorePlanState.Builder location​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> location)
        Parameters:
        location - The region of the Restore Plan.
        Returns:
        builder
      • location

        public RestorePlanState.Builder location​(java.lang.String location)
        Parameters:
        location - The region of the Restore Plan.
        Returns:
        builder
      • name

        public RestorePlanState.Builder name​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The full name of the BackupPlan Resource.
        Returns:
        builder
      • name

        public RestorePlanState.Builder name​(java.lang.String name)
        Parameters:
        name - The full name of the BackupPlan Resource.
        Returns:
        builder
      • project

        public RestorePlanState.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 RestorePlanState.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
      • pulumiLabels

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

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

        public RestorePlanState.Builder restoreConfig​(@Nullable
                                                      com.pulumi.core.Output<RestorePlanRestoreConfigArgs> restoreConfig)
        Parameters:
        restoreConfig - Defines the configuration of Restores created via this RestorePlan. Structure is documented below.
        Returns:
        builder
      • state

        public RestorePlanState.Builder state​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> state)
        Parameters:
        state - The State of the RestorePlan.
        Returns:
        builder
      • state

        public RestorePlanState.Builder state​(java.lang.String state)
        Parameters:
        state - The State of the RestorePlan.
        Returns:
        builder
      • stateReason

        public RestorePlanState.Builder stateReason​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> stateReason)
        Parameters:
        stateReason - Detailed description of why RestorePlan is in its current state.
        Returns:
        builder
      • stateReason

        public RestorePlanState.Builder stateReason​(java.lang.String stateReason)
        Parameters:
        stateReason - Detailed description of why RestorePlan is in its current state.
        Returns:
        builder
      • uid

        public RestorePlanState.Builder uid​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> uid)
        Parameters:
        uid - Server generated, unique identifier of UUID format.
        Returns:
        builder
      • uid

        public RestorePlanState.Builder uid​(java.lang.String uid)
        Parameters:
        uid - Server generated, unique identifier of UUID format.
        Returns:
        builder