Interface DeactivateCampaignAssetResponse.Builder

  • Method Details

    • id

      The asset identifier.

      Parameters:
      id - The asset identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The asset's lifecycle position — INACTIVE once the stop is confirmed.

      Parameters:
      state - The asset's lifecycle position — INACTIVE once the stop is confirmed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The asset's lifecycle position — INACTIVE once the stop is confirmed.

      Parameters:
      state - The asset's lifecycle position — INACTIVE once the stop is confirmed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastActivationStatus

      DeactivateCampaignAssetResponse.Builder lastActivationStatus(String lastActivationStatus)

      How the most recent activation attempt ended, which a stop does not change. Read with state, it is what separates a stopped asset (INACTIVE + SUCCEEDED) from one never activated (INACTIVE, this member absent). Omitted until a first activation has been attempted.

      Parameters:
      lastActivationStatus - How the most recent activation attempt ended, which a stop does not change. Read with state, it is what separates a stopped asset (INACTIVE + SUCCEEDED) from one never activated (INACTIVE, this member absent). Omitted until a first activation has been attempted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastActivationStatus

      DeactivateCampaignAssetResponse.Builder lastActivationStatus(AttemptStatus lastActivationStatus)

      How the most recent activation attempt ended, which a stop does not change. Read with state, it is what separates a stopped asset (INACTIVE + SUCCEEDED) from one never activated (INACTIVE, this member absent). Omitted until a first activation has been attempted.

      Parameters:
      lastActivationStatus - How the most recent activation attempt ended, which a stop does not change. Read with state, it is what separates a stopped asset (INACTIVE + SUCCEEDED) from one never activated (INACTIVE, this member absent). Omitted until a first activation has been attempted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stateReason

      Why the asset sits where it does. Present when LastActivationStatus is FAILED, or on a deliberate INACTIVE.

      Parameters:
      stateReason - Why the asset sits where it does. Present when LastActivationStatus is FAILED, or on a deliberate INACTIVE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stateReason

      Why the asset sits where it does. Present when LastActivationStatus is FAILED, or on a deliberate INACTIVE.

      Parameters:
      stateReason - Why the asset sits where it does. Present when LastActivationStatus is FAILED, or on a deliberate INACTIVE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: