Interface UpdateCampaignAssetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateCampaignAssetResponse.Builder,,UpdateCampaignAssetResponse> PartnerCentralMarketingResponse.Builder,SdkBuilder<UpdateCampaignAssetResponse.Builder,,UpdateCampaignAssetResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateCampaignAssetResponse
-
Method Summary
Modifier and TypeMethodDescriptionactivationIssues(Collection<ActivationIssue> activationIssues) What must be fixed on this asset before it can be activated.activationIssues(Consumer<ActivationIssue.Builder>... activationIssues) What must be fixed on this asset before it can be activated.activationIssues(ActivationIssue... activationIssues) What must be fixed on this asset before it can be activated.The asset identifier.The asset's state, unchanged.state(CampaignAssetState state) The asset's state, unchanged.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralmarketing.model.PartnerCentralMarketingResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 state, unchanged.
An update never moves it, so a live asset stays ACTIVE while its edited values take effect for the next activation. There is no edit-outcome member: a 200 means every submitted value applied, and every failure is a refusal on the call itself (DG-040 Decision 11).
- Parameters:
state- The asset's state, unchanged.An update never moves it, so a live asset stays ACTIVE while its edited values take effect for the next activation. There is no edit-outcome member: a 200 means every submitted value applied, and every failure is a refusal on the call itself (DG-040 Decision 11).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The asset's state, unchanged.
An update never moves it, so a live asset stays ACTIVE while its edited values take effect for the next activation. There is no edit-outcome member: a 200 means every submitted value applied, and every failure is a refusal on the call itself (DG-040 Decision 11).
- Parameters:
state- The asset's state, unchanged.An update never moves it, so a live asset stays ACTIVE while its edited values take effect for the next activation. There is no edit-outcome member: a 200 means every submitted value applied, and every failure is a refusal on the call itself (DG-040 Decision 11).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
activationIssues
What must be fixed on this asset before it can be activated. Empty when the asset is ready.
Issues don't block saving: an asset can be saved incomplete and fixed over several updates.
StartCampaignAssetActivationTaskrefuses an asset that still has issues: an issue blocks activation when only an edit to the asset can change the outcome. Most issues name the field to fix inFieldId. Fix it withUpdateCampaignAsset, then read this list again.Besides the issues computed from the asset's content, the list carries what the last activation found:
CONTENT_REJECTEDandPARTNER_IMAGE_REJECTEDwhen moderation refused a field. Editing that field removes its issue. ACONTENT_REJECTEDwithout aFieldIdmeans the text was refused as a whole; editing any text field removes it.Problems with the campaign's own settings, such as a missing recipient list, and with the partner's profile, such as a missing logo, are reported on
Campaign.ActivationIssues, not here.- Parameters:
activationIssues- What must be fixed on this asset before it can be activated. Empty when the asset is ready.Issues don't block saving: an asset can be saved incomplete and fixed over several updates.
StartCampaignAssetActivationTaskrefuses an asset that still has issues: an issue blocks activation when only an edit to the asset can change the outcome. Most issues name the field to fix inFieldId. Fix it withUpdateCampaignAsset, then read this list again.Besides the issues computed from the asset's content, the list carries what the last activation found:
CONTENT_REJECTEDandPARTNER_IMAGE_REJECTEDwhen moderation refused a field. Editing that field removes its issue. ACONTENT_REJECTEDwithout aFieldIdmeans the text was refused as a whole; editing any text field removes it.Problems with the campaign's own settings, such as a missing recipient list, and with the partner's profile, such as a missing logo, are reported on
Campaign.ActivationIssues, not here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activationIssues
What must be fixed on this asset before it can be activated. Empty when the asset is ready.
Issues don't block saving: an asset can be saved incomplete and fixed over several updates.
StartCampaignAssetActivationTaskrefuses an asset that still has issues: an issue blocks activation when only an edit to the asset can change the outcome. Most issues name the field to fix inFieldId. Fix it withUpdateCampaignAsset, then read this list again.Besides the issues computed from the asset's content, the list carries what the last activation found:
CONTENT_REJECTEDandPARTNER_IMAGE_REJECTEDwhen moderation refused a field. Editing that field removes its issue. ACONTENT_REJECTEDwithout aFieldIdmeans the text was refused as a whole; editing any text field removes it.Problems with the campaign's own settings, such as a missing recipient list, and with the partner's profile, such as a missing logo, are reported on
Campaign.ActivationIssues, not here.- Parameters:
activationIssues- What must be fixed on this asset before it can be activated. Empty when the asset is ready.Issues don't block saving: an asset can be saved incomplete and fixed over several updates.
StartCampaignAssetActivationTaskrefuses an asset that still has issues: an issue blocks activation when only an edit to the asset can change the outcome. Most issues name the field to fix inFieldId. Fix it withUpdateCampaignAsset, then read this list again.Besides the issues computed from the asset's content, the list carries what the last activation found:
CONTENT_REJECTEDandPARTNER_IMAGE_REJECTEDwhen moderation refused a field. Editing that field removes its issue. ACONTENT_REJECTEDwithout aFieldIdmeans the text was refused as a whole; editing any text field removes it.Problems with the campaign's own settings, such as a missing recipient list, and with the partner's profile, such as a missing logo, are reported on
Campaign.ActivationIssues, not here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activationIssues
UpdateCampaignAssetResponse.Builder activationIssues(Consumer<ActivationIssue.Builder>... activationIssues) What must be fixed on this asset before it can be activated. Empty when the asset is ready.
Issues don't block saving: an asset can be saved incomplete and fixed over several updates.
StartCampaignAssetActivationTaskrefuses an asset that still has issues: an issue blocks activation when only an edit to the asset can change the outcome. Most issues name the field to fix inFieldId. Fix it withUpdateCampaignAsset, then read this list again.Besides the issues computed from the asset's content, the list carries what the last activation found:
CONTENT_REJECTEDandPARTNER_IMAGE_REJECTEDwhen moderation refused a field. Editing that field removes its issue. ACONTENT_REJECTEDwithout aFieldIdmeans the text was refused as a whole; editing any text field removes it.Problems with the campaign's own settings, such as a missing recipient list, and with the partner's profile, such as a missing logo, are reported on
This is a convenience method that creates an instance of theCampaign.ActivationIssues, not here.ActivationIssue.Builderavoiding the need to create one manually viaActivationIssue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactivationIssues(List<ActivationIssue>).- Parameters:
activationIssues- a consumer that will call methods onActivationIssue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-