@Generated(value="software.amazon.awssdk:codegen") public final class Campaign extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Campaign.Builder,Campaign>
Describes a deployed solution version, otherwise known as a campaign. 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.
|
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 String name()
The name of the campaign.
public String campaignArn()
The Amazon Resource Name (ARN) of the campaign.
public String solutionVersionArn()
The Amazon Resource Name (ARN) of a specific version of the solution.
public Integer minProvisionedTPS()
Specifies the requested minimum provisioned transactions (recommendations) per second.
public 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 String failureReason()
If a campaign fails, the reason behind the failure.
public Instant creationDateTime()
The date and time (in Unix format) that the campaign was created.
public Instant lastUpdatedDateTime()
The date and time (in Unix format) that the campaign was last updated.
public 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.