@Generated(value="software.amazon.awssdk:codegen") public final class Campaign extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Campaign.Builder,Campaign>
An object that describes the deployment of a solution version. For more information on campaigns, see CreateCampaign.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Campaign.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Campaign.Builder |
builder() |
String |
campaignArn()
The Amazon Resource Name (ARN) of the campaign.
|
CampaignConfig |
campaignConfig()
The configuration details of a campaign.
|
Instant |
creationDateTime()
The date and time (in Unix format) that the campaign was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
failureReason()
If a campaign fails, the reason behind the failure.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedDateTime()
The date and time (in Unix format) that the campaign was last updated.
|
CampaignUpdateSummary |
latestCampaignUpdate()
Returns the value of the LatestCampaignUpdate property for this object.
|
Integer |
minProvisionedTPS()
Specifies the requested minimum provisioned transactions (recommendations) per second.
|
String |
name()
The name of the campaign.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Campaign.Builder> |
serializableBuilderClass() |
String |
solutionVersionArn()
The Amazon Resource Name (ARN) of a specific version of the solution.
|
String |
status()
The status of the campaign.
|
Campaign.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the campaign.
public final String campaignArn()
The Amazon Resource Name (ARN) of the campaign.
public final String solutionVersionArn()
The Amazon Resource Name (ARN) of a specific version of the solution.
public final Integer minProvisionedTPS()
Specifies the requested minimum provisioned transactions (recommendations) per second.
public final CampaignConfig campaignConfig()
The configuration details of a campaign.
public final String 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
A campaign can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
public final String failureReason()
If a campaign fails, the reason behind the failure.
public final Instant creationDateTime()
The date and time (in Unix format) that the campaign was created.
public final Instant lastUpdatedDateTime()
The date and time (in Unix format) that the campaign was last updated.
public final CampaignUpdateSummary latestCampaignUpdate()
public Campaign.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Campaign.Builder,Campaign>public static Campaign.Builder builder()
public static Class<? extends Campaign.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.