Interface CampaignAssetActivationOutcome.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CampaignAssetActivationOutcome.Builder,,CampaignAssetActivationOutcome> SdkBuilder<CampaignAssetActivationOutcome.Builder,,CampaignAssetActivationOutcome> SdkPojo
- Enclosing class:
CampaignAssetActivationOutcome
@Mutable
@NotThreadSafe
public static interface CampaignAssetActivationOutcome.Builder
extends SdkPojo, CopyableBuilder<CampaignAssetActivationOutcome.Builder,CampaignAssetActivationOutcome>
-
Method Summary
Modifier and TypeMethodDescriptioncampaignAssetId(String campaignAssetId) The asset this outcome belongs to.A description ofReasonfor display.Why the activation did not succeed.reason(CampaignAssetStateReason reason) Why the activation did not succeed.This asset's contribution to the task's status.status(CampaignAssetActivationStatus status) This asset's contribution to the task's status.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
campaignAssetId
The asset this outcome belongs to.
- Parameters:
campaignAssetId- The asset this outcome belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
This asset's contribution to the task's status.
- Parameters:
status- This asset's contribution to the task's status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
This asset's contribution to the task's status.
- Parameters:
status- This asset's contribution to the task's status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reason
Why the activation did not succeed. Present when status is FAILED.
- Parameters:
reason- Why the activation did not succeed. Present when status is FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reason
Why the activation did not succeed. Present when status is FAILED.
- Parameters:
reason- Why the activation did not succeed. Present when status is FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
A description of
Reasonfor display. Don't parse it. For a mailing-credit shortfall it states the credits needed and remaining.- Parameters:
message- A description ofReasonfor display. Don't parse it. For a mailing-credit shortfall it states the credits needed and remaining.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-