Interface AssetOwnershipTransfer.Builder

  • Method Details

    • status

      The status of the ownership transfer. Valid values:

      • IN_PROGRESS — The transfer is in progress. Requests that change the asset or its listing fail until the transfer completes.

      • SUCCEEDED — The transfer completed. The target project owns the asset, its listing, and the subscriptions to the asset.

      • FAILED — The transfer didn't complete, and the service rolled back its changes. The source project owns the asset.

      Parameters:
      status - The status of the ownership transfer. Valid values:

      • IN_PROGRESS — The transfer is in progress. Requests that change the asset or its listing fail until the transfer completes.

      • SUCCEEDED — The transfer completed. The target project owns the asset, its listing, and the subscriptions to the asset.

      • FAILED — The transfer didn't complete, and the service rolled back its changes. The source project owns the asset.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the ownership transfer. Valid values:

      • IN_PROGRESS — The transfer is in progress. Requests that change the asset or its listing fail until the transfer completes.

      • SUCCEEDED — The transfer completed. The target project owns the asset, its listing, and the subscriptions to the asset.

      • FAILED — The transfer didn't complete, and the service rolled back its changes. The source project owns the asset.

      Parameters:
      status - The status of the ownership transfer. Valid values:

      • IN_PROGRESS — The transfer is in progress. Requests that change the asset or its listing fail until the transfer completes.

      • SUCCEEDED — The transfer completed. The target project owns the asset, its listing, and the subscriptions to the asset.

      • FAILED — The transfer didn't complete, and the service rolled back its changes. The source project owns the asset.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceProjectId

      AssetOwnershipTransfer.Builder sourceProjectId(String sourceProjectId)

      The ID of the project that owned the asset when the transfer started.

      Parameters:
      sourceProjectId - The ID of the project that owned the asset when the transfer started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetProjectId

      AssetOwnershipTransfer.Builder targetProjectId(String targetProjectId)

      The ID of the project that the asset is transferred to.

      Parameters:
      targetProjectId - The ID of the project that the asset is transferred to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startedAt

      The timestamp of when the transfer started.

      Parameters:
      startedAt - The timestamp of when the transfer started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      The timestamp of when the status of the transfer was last updated.

      Parameters:
      updatedAt - The timestamp of when the status of the transfer was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.