Class Campaign
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Campaign.Builder,Campaign>
An object that describes the deployment of a solution version. For more information on campaigns, see CreateCampaign.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Campaign.Builderbuilder()final StringThe Amazon Resource Name (ARN) of the campaign.final CampaignConfigThe configuration details of a campaign.final InstantThe date and time (in Unix format) that the campaign was created.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringIf a campaign fails, the reason behind the failure.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantThe date and time (in Unix format) that the campaign was last updated.final CampaignUpdateSummaryProvides a summary of the properties of a campaign update.final IntegerSpecifies the requested minimum provisioned transactions (recommendations) per second.final Stringname()The name of the campaign.static Class<? extends Campaign.Builder> final StringThe Amazon Resource Name (ARN) of the solution version the campaign uses.final Stringstatus()The status of the campaign.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
-
campaignArn
The Amazon Resource Name (ARN) of the campaign.
- Returns:
- The Amazon Resource Name (ARN) of the campaign.
-
solutionVersionArn
The Amazon Resource Name (ARN) of the solution version the campaign uses.
- Returns:
- The Amazon Resource Name (ARN) of the solution version the campaign uses.
-
minProvisionedTPS
Specifies the requested minimum provisioned transactions (recommendations) per second. A high
minProvisionedTPSwill increase your bill. We recommend starting with 1 forminProvisionedTPS(the default). Track your usage using Amazon CloudWatch metrics, and increase theminProvisionedTPSas necessary.- Returns:
- Specifies the requested minimum provisioned transactions (recommendations) per second. A high
minProvisionedTPSwill increase your bill. We recommend starting with 1 forminProvisionedTPS(the default). Track your usage using Amazon CloudWatch metrics, and increase theminProvisionedTPSas necessary.
-
campaignConfig
The configuration details of a campaign.
- Returns:
- The configuration details of a campaign.
-
status
The status of the campaign.
A campaign can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
- Returns:
- The status of the campaign.
A campaign can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
DELETE PENDING > DELETE IN_PROGRESS
-
-
-
failureReason
If a campaign fails, the reason behind the failure.
- Returns:
- If a campaign fails, the reason behind the failure.
-
creationDateTime
The date and time (in Unix format) that the campaign was created.
- Returns:
- The date and time (in Unix format) that the campaign was created.
-
lastUpdatedDateTime
The date and time (in Unix format) that the campaign was last updated.
- Returns:
- The date and time (in Unix format) that the campaign was last updated.
-
latestCampaignUpdate
Provides a summary of the properties of a campaign update. For a complete listing, call the DescribeCampaign API.
The
latestCampaignUpdatefield is only returned when the campaign has had at least oneUpdateCampaigncall.- Returns:
- Provides a summary of the properties of a campaign update. For a complete listing, call the DescribeCampaign
API.
The
latestCampaignUpdatefield is only returned when the campaign has had at least oneUpdateCampaigncall.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Campaign.Builder,Campaign> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-