@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Launch extends Object implements Serializable, Cloneable, StructuredPojo
This structure contains the configuration details of one Evidently launch.
Constructor and Description |
---|
Launch() |
Modifier and Type | Method and Description |
---|---|
Launch |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Launch |
clearTagsEntries()
Removes all the entries added into Tags.
|
Launch |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the launch.
|
Date |
getCreatedTime()
The date and time that the launch is created.
|
String |
getDescription()
The description of the launch.
|
LaunchExecution |
getExecution()
A structure that contains information about the start and end times of the launch.
|
List<LaunchGroup> |
getGroups()
An array of structures that define the feature variations that are being used in the launch.
|
Date |
getLastUpdatedTime()
The date and time that the launch was most recently updated.
|
List<MetricMonitor> |
getMetricMonitors()
An array of structures that define the metrics that are being used to monitor the launch performance.
|
String |
getName()
The name of the launch.
|
String |
getProject()
The name or ARN of the project that contains the launch.
|
String |
getRandomizationSalt()
This value is used when Evidently assigns a particular user session to the launch, to help create a randomization
ID to determine which variation the user session is served.
|
ScheduledSplitsLaunchDefinition |
getScheduledSplitsDefinition()
An array of structures that define the traffic allocation percentages among the feature variations during each
step of the launch.
|
String |
getStatus()
The current state of the launch.
|
String |
getStatusReason()
If the launch was stopped, this is the string that was entered by the person who stopped the launch, to explain
why it was stopped.
|
Map<String,String> |
getTags()
The list of tag keys and values associated with this launch.
|
String |
getType()
The type of launch.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the launch.
|
void |
setCreatedTime(Date createdTime)
The date and time that the launch is created.
|
void |
setDescription(String description)
The description of the launch.
|
void |
setExecution(LaunchExecution execution)
A structure that contains information about the start and end times of the launch.
|
void |
setGroups(Collection<LaunchGroup> groups)
An array of structures that define the feature variations that are being used in the launch.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
The date and time that the launch was most recently updated.
|
void |
setMetricMonitors(Collection<MetricMonitor> metricMonitors)
An array of structures that define the metrics that are being used to monitor the launch performance.
|
void |
setName(String name)
The name of the launch.
|
void |
setProject(String project)
The name or ARN of the project that contains the launch.
|
void |
setRandomizationSalt(String randomizationSalt)
This value is used when Evidently assigns a particular user session to the launch, to help create a randomization
ID to determine which variation the user session is served.
|
void |
setScheduledSplitsDefinition(ScheduledSplitsLaunchDefinition scheduledSplitsDefinition)
An array of structures that define the traffic allocation percentages among the feature variations during each
step of the launch.
|
void |
setStatus(String status)
The current state of the launch.
|
void |
setStatusReason(String statusReason)
If the launch was stopped, this is the string that was entered by the person who stopped the launch, to explain
why it was stopped.
|
void |
setTags(Map<String,String> tags)
The list of tag keys and values associated with this launch.
|
void |
setType(String type)
The type of launch.
|
String |
toString()
Returns a string representation of this object.
|
Launch |
withArn(String arn)
The ARN of the launch.
|
Launch |
withCreatedTime(Date createdTime)
The date and time that the launch is created.
|
Launch |
withDescription(String description)
The description of the launch.
|
Launch |
withExecution(LaunchExecution execution)
A structure that contains information about the start and end times of the launch.
|
Launch |
withGroups(Collection<LaunchGroup> groups)
An array of structures that define the feature variations that are being used in the launch.
|
Launch |
withGroups(LaunchGroup... groups)
An array of structures that define the feature variations that are being used in the launch.
|
Launch |
withLastUpdatedTime(Date lastUpdatedTime)
The date and time that the launch was most recently updated.
|
Launch |
withMetricMonitors(Collection<MetricMonitor> metricMonitors)
An array of structures that define the metrics that are being used to monitor the launch performance.
|
Launch |
withMetricMonitors(MetricMonitor... metricMonitors)
An array of structures that define the metrics that are being used to monitor the launch performance.
|
Launch |
withName(String name)
The name of the launch.
|
Launch |
withProject(String project)
The name or ARN of the project that contains the launch.
|
Launch |
withRandomizationSalt(String randomizationSalt)
This value is used when Evidently assigns a particular user session to the launch, to help create a randomization
ID to determine which variation the user session is served.
|
Launch |
withScheduledSplitsDefinition(ScheduledSplitsLaunchDefinition scheduledSplitsDefinition)
An array of structures that define the traffic allocation percentages among the feature variations during each
step of the launch.
|
Launch |
withStatus(LaunchStatus status)
The current state of the launch.
|
Launch |
withStatus(String status)
The current state of the launch.
|
Launch |
withStatusReason(String statusReason)
If the launch was stopped, this is the string that was entered by the person who stopped the launch, to explain
why it was stopped.
|
Launch |
withTags(Map<String,String> tags)
The list of tag keys and values associated with this launch.
|
Launch |
withType(LaunchType type)
The type of launch.
|
Launch |
withType(String type)
The type of launch.
|
public void setArn(String arn)
The ARN of the launch.
arn
- The ARN of the launch.public String getArn()
The ARN of the launch.
public Launch withArn(String arn)
The ARN of the launch.
arn
- The ARN of the launch.public void setCreatedTime(Date createdTime)
The date and time that the launch is created.
createdTime
- The date and time that the launch is created.public Date getCreatedTime()
The date and time that the launch is created.
public Launch withCreatedTime(Date createdTime)
The date and time that the launch is created.
createdTime
- The date and time that the launch is created.public void setDescription(String description)
The description of the launch.
description
- The description of the launch.public String getDescription()
The description of the launch.
public Launch withDescription(String description)
The description of the launch.
description
- The description of the launch.public void setExecution(LaunchExecution execution)
A structure that contains information about the start and end times of the launch.
execution
- A structure that contains information about the start and end times of the launch.public LaunchExecution getExecution()
A structure that contains information about the start and end times of the launch.
public Launch withExecution(LaunchExecution execution)
A structure that contains information about the start and end times of the launch.
execution
- A structure that contains information about the start and end times of the launch.public List<LaunchGroup> getGroups()
An array of structures that define the feature variations that are being used in the launch.
public void setGroups(Collection<LaunchGroup> groups)
An array of structures that define the feature variations that are being used in the launch.
groups
- An array of structures that define the feature variations that are being used in the launch.public Launch withGroups(LaunchGroup... groups)
An array of structures that define the feature variations that are being used in the launch.
NOTE: This method appends the values to the existing list (if any). Use
setGroups(java.util.Collection)
or withGroups(java.util.Collection)
if you want to override the
existing values.
groups
- An array of structures that define the feature variations that are being used in the launch.public Launch withGroups(Collection<LaunchGroup> groups)
An array of structures that define the feature variations that are being used in the launch.
groups
- An array of structures that define the feature variations that are being used in the launch.public void setLastUpdatedTime(Date lastUpdatedTime)
The date and time that the launch was most recently updated.
lastUpdatedTime
- The date and time that the launch was most recently updated.public Date getLastUpdatedTime()
The date and time that the launch was most recently updated.
public Launch withLastUpdatedTime(Date lastUpdatedTime)
The date and time that the launch was most recently updated.
lastUpdatedTime
- The date and time that the launch was most recently updated.public List<MetricMonitor> getMetricMonitors()
An array of structures that define the metrics that are being used to monitor the launch performance.
public void setMetricMonitors(Collection<MetricMonitor> metricMonitors)
An array of structures that define the metrics that are being used to monitor the launch performance.
metricMonitors
- An array of structures that define the metrics that are being used to monitor the launch performance.public Launch withMetricMonitors(MetricMonitor... metricMonitors)
An array of structures that define the metrics that are being used to monitor the launch performance.
NOTE: This method appends the values to the existing list (if any). Use
setMetricMonitors(java.util.Collection)
or withMetricMonitors(java.util.Collection)
if you want
to override the existing values.
metricMonitors
- An array of structures that define the metrics that are being used to monitor the launch performance.public Launch withMetricMonitors(Collection<MetricMonitor> metricMonitors)
An array of structures that define the metrics that are being used to monitor the launch performance.
metricMonitors
- An array of structures that define the metrics that are being used to monitor the launch performance.public void setName(String name)
The name of the launch.
name
- The name of the launch.public String getName()
The name of the launch.
public Launch withName(String name)
The name of the launch.
name
- The name of the launch.public void setProject(String project)
The name or ARN of the project that contains the launch.
project
- The name or ARN of the project that contains the launch.public String getProject()
The name or ARN of the project that contains the launch.
public Launch withProject(String project)
The name or ARN of the project that contains the launch.
project
- The name or ARN of the project that contains the launch.public void setRandomizationSalt(String randomizationSalt)
This value is used when Evidently assigns a particular user session to the launch, to help create a randomization
ID to determine which variation the user session is served. This randomization ID is a combination of the entity
ID and randomizationSalt
.
randomizationSalt
- This value is used when Evidently assigns a particular user session to the launch, to help create a
randomization ID to determine which variation the user session is served. This randomization ID is a
combination of the entity ID and randomizationSalt
.public String getRandomizationSalt()
This value is used when Evidently assigns a particular user session to the launch, to help create a randomization
ID to determine which variation the user session is served. This randomization ID is a combination of the entity
ID and randomizationSalt
.
randomizationSalt
.public Launch withRandomizationSalt(String randomizationSalt)
This value is used when Evidently assigns a particular user session to the launch, to help create a randomization
ID to determine which variation the user session is served. This randomization ID is a combination of the entity
ID and randomizationSalt
.
randomizationSalt
- This value is used when Evidently assigns a particular user session to the launch, to help create a
randomization ID to determine which variation the user session is served. This randomization ID is a
combination of the entity ID and randomizationSalt
.public void setScheduledSplitsDefinition(ScheduledSplitsLaunchDefinition scheduledSplitsDefinition)
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.
scheduledSplitsDefinition
- An array of structures that define the traffic allocation percentages among the feature variations during
each step of the launch.public ScheduledSplitsLaunchDefinition getScheduledSplitsDefinition()
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.
public Launch withScheduledSplitsDefinition(ScheduledSplitsLaunchDefinition scheduledSplitsDefinition)
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.
scheduledSplitsDefinition
- An array of structures that define the traffic allocation percentages among the feature variations during
each step of the launch.public void setStatus(String status)
The current state of the launch.
status
- The current state of the launch.LaunchStatus
public String getStatus()
The current state of the launch.
LaunchStatus
public Launch withStatus(String status)
The current state of the launch.
status
- The current state of the launch.LaunchStatus
public Launch withStatus(LaunchStatus status)
The current state of the launch.
status
- The current state of the launch.LaunchStatus
public void setStatusReason(String statusReason)
If the launch was stopped, this is the string that was entered by the person who stopped the launch, to explain why it was stopped.
statusReason
- If the launch was stopped, this is the string that was entered by the person who stopped the launch, to
explain why it was stopped.public String getStatusReason()
If the launch was stopped, this is the string that was entered by the person who stopped the launch, to explain why it was stopped.
public Launch withStatusReason(String statusReason)
If the launch was stopped, this is the string that was entered by the person who stopped the launch, to explain why it was stopped.
statusReason
- If the launch was stopped, this is the string that was entered by the person who stopped the launch, to
explain why it was stopped.public Map<String,String> getTags()
The list of tag keys and values associated with this launch.
public void setTags(Map<String,String> tags)
The list of tag keys and values associated with this launch.
tags
- The list of tag keys and values associated with this launch.public Launch withTags(Map<String,String> tags)
The list of tag keys and values associated with this launch.
tags
- The list of tag keys and values associated with this launch.public Launch clearTagsEntries()
public void setType(String type)
The type of launch.
type
- The type of launch.LaunchType
public String getType()
The type of launch.
LaunchType
public Launch withType(String type)
The type of launch.
type
- The type of launch.LaunchType
public Launch withType(LaunchType type)
The type of launch.
type
- The type of launch.LaunchType
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.