@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FeatureSummary extends Object implements Serializable, Cloneable, StructuredPojo
This structure contains information about one Evidently feature in your account.
Constructor and Description |
---|
FeatureSummary() |
Modifier and Type | Method and Description |
---|---|
FeatureSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
FeatureSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
FeatureSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the feature.
|
Date |
getCreatedTime()
The date and time that the feature is created.
|
String |
getDefaultVariation()
The name of the variation that is used as the default variation.
|
List<EvaluationRule> |
getEvaluationRules()
An array of structures that define
|
String |
getEvaluationStrategy()
If this value is
ALL_RULES , the traffic allocation specified by any ongoing launches or experiments
is being used. |
Date |
getLastUpdatedTime()
The date and time that the feature was most recently updated.
|
String |
getName()
The name of the feature.
|
String |
getProject()
The name or ARN of the project that contains the feature.
|
String |
getStatus()
The current state of the feature.
|
Map<String,String> |
getTags()
The list of tag keys and values associated with this feature.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the feature.
|
void |
setCreatedTime(Date createdTime)
The date and time that the feature is created.
|
void |
setDefaultVariation(String defaultVariation)
The name of the variation that is used as the default variation.
|
void |
setEvaluationRules(Collection<EvaluationRule> evaluationRules)
An array of structures that define
|
void |
setEvaluationStrategy(String evaluationStrategy)
If this value is
ALL_RULES , the traffic allocation specified by any ongoing launches or experiments
is being used. |
void |
setLastUpdatedTime(Date lastUpdatedTime)
The date and time that the feature was most recently updated.
|
void |
setName(String name)
The name of the feature.
|
void |
setProject(String project)
The name or ARN of the project that contains the feature.
|
void |
setStatus(String status)
The current state of the feature.
|
void |
setTags(Map<String,String> tags)
The list of tag keys and values associated with this feature.
|
String |
toString()
Returns a string representation of this object.
|
FeatureSummary |
withArn(String arn)
The ARN of the feature.
|
FeatureSummary |
withCreatedTime(Date createdTime)
The date and time that the feature is created.
|
FeatureSummary |
withDefaultVariation(String defaultVariation)
The name of the variation that is used as the default variation.
|
FeatureSummary |
withEvaluationRules(Collection<EvaluationRule> evaluationRules)
An array of structures that define
|
FeatureSummary |
withEvaluationRules(EvaluationRule... evaluationRules)
An array of structures that define
|
FeatureSummary |
withEvaluationStrategy(FeatureEvaluationStrategy evaluationStrategy)
If this value is
ALL_RULES , the traffic allocation specified by any ongoing launches or experiments
is being used. |
FeatureSummary |
withEvaluationStrategy(String evaluationStrategy)
If this value is
ALL_RULES , the traffic allocation specified by any ongoing launches or experiments
is being used. |
FeatureSummary |
withLastUpdatedTime(Date lastUpdatedTime)
The date and time that the feature was most recently updated.
|
FeatureSummary |
withName(String name)
The name of the feature.
|
FeatureSummary |
withProject(String project)
The name or ARN of the project that contains the feature.
|
FeatureSummary |
withStatus(FeatureStatus status)
The current state of the feature.
|
FeatureSummary |
withStatus(String status)
The current state of the feature.
|
FeatureSummary |
withTags(Map<String,String> tags)
The list of tag keys and values associated with this feature.
|
public void setArn(String arn)
The ARN of the feature.
arn
- The ARN of the feature.public String getArn()
The ARN of the feature.
public FeatureSummary withArn(String arn)
The ARN of the feature.
arn
- The ARN of the feature.public void setCreatedTime(Date createdTime)
The date and time that the feature is created.
createdTime
- The date and time that the feature is created.public Date getCreatedTime()
The date and time that the feature is created.
public FeatureSummary withCreatedTime(Date createdTime)
The date and time that the feature is created.
createdTime
- The date and time that the feature is created.public void setDefaultVariation(String defaultVariation)
The name of the variation that is used as the default variation. The default variation is served to users who are not allocated to any ongoing launches or experiments of this feature.
defaultVariation
- The name of the variation that is used as the default variation. The default variation is served to users
who are not allocated to any ongoing launches or experiments of this feature.public String getDefaultVariation()
The name of the variation that is used as the default variation. The default variation is served to users who are not allocated to any ongoing launches or experiments of this feature.
public FeatureSummary withDefaultVariation(String defaultVariation)
The name of the variation that is used as the default variation. The default variation is served to users who are not allocated to any ongoing launches or experiments of this feature.
defaultVariation
- The name of the variation that is used as the default variation. The default variation is served to users
who are not allocated to any ongoing launches or experiments of this feature.public List<EvaluationRule> getEvaluationRules()
An array of structures that define
public void setEvaluationRules(Collection<EvaluationRule> evaluationRules)
An array of structures that define
evaluationRules
- An array of structures that definepublic FeatureSummary withEvaluationRules(EvaluationRule... evaluationRules)
An array of structures that define
NOTE: This method appends the values to the existing list (if any). Use
setEvaluationRules(java.util.Collection)
or withEvaluationRules(java.util.Collection)
if you
want to override the existing values.
evaluationRules
- An array of structures that definepublic FeatureSummary withEvaluationRules(Collection<EvaluationRule> evaluationRules)
An array of structures that define
evaluationRules
- An array of structures that definepublic void setEvaluationStrategy(String evaluationStrategy)
If this value is ALL_RULES
, the traffic allocation specified by any ongoing launches or experiments
is being used. If this is DEFAULT_VARIATION
, the default variation is being served to all users.
evaluationStrategy
- If this value is ALL_RULES
, the traffic allocation specified by any ongoing launches or
experiments is being used. If this is DEFAULT_VARIATION
, the default variation is being
served to all users.FeatureEvaluationStrategy
public String getEvaluationStrategy()
If this value is ALL_RULES
, the traffic allocation specified by any ongoing launches or experiments
is being used. If this is DEFAULT_VARIATION
, the default variation is being served to all users.
ALL_RULES
, the traffic allocation specified by any ongoing launches or
experiments is being used. If this is DEFAULT_VARIATION
, the default variation is being
served to all users.FeatureEvaluationStrategy
public FeatureSummary withEvaluationStrategy(String evaluationStrategy)
If this value is ALL_RULES
, the traffic allocation specified by any ongoing launches or experiments
is being used. If this is DEFAULT_VARIATION
, the default variation is being served to all users.
evaluationStrategy
- If this value is ALL_RULES
, the traffic allocation specified by any ongoing launches or
experiments is being used. If this is DEFAULT_VARIATION
, the default variation is being
served to all users.FeatureEvaluationStrategy
public FeatureSummary withEvaluationStrategy(FeatureEvaluationStrategy evaluationStrategy)
If this value is ALL_RULES
, the traffic allocation specified by any ongoing launches or experiments
is being used. If this is DEFAULT_VARIATION
, the default variation is being served to all users.
evaluationStrategy
- If this value is ALL_RULES
, the traffic allocation specified by any ongoing launches or
experiments is being used. If this is DEFAULT_VARIATION
, the default variation is being
served to all users.FeatureEvaluationStrategy
public void setLastUpdatedTime(Date lastUpdatedTime)
The date and time that the feature was most recently updated.
lastUpdatedTime
- The date and time that the feature was most recently updated.public Date getLastUpdatedTime()
The date and time that the feature was most recently updated.
public FeatureSummary withLastUpdatedTime(Date lastUpdatedTime)
The date and time that the feature was most recently updated.
lastUpdatedTime
- The date and time that the feature was most recently updated.public void setName(String name)
The name of the feature.
name
- The name of the feature.public String getName()
The name of the feature.
public FeatureSummary withName(String name)
The name of the feature.
name
- The name of the feature.public void setProject(String project)
The name or ARN of the project that contains the feature.
project
- The name or ARN of the project that contains the feature.public String getProject()
The name or ARN of the project that contains the feature.
public FeatureSummary withProject(String project)
The name or ARN of the project that contains the feature.
project
- The name or ARN of the project that contains the feature.public void setStatus(String status)
The current state of the feature.
status
- The current state of the feature.FeatureStatus
public String getStatus()
The current state of the feature.
FeatureStatus
public FeatureSummary withStatus(String status)
The current state of the feature.
status
- The current state of the feature.FeatureStatus
public FeatureSummary withStatus(FeatureStatus status)
The current state of the feature.
status
- The current state of the feature.FeatureStatus
public Map<String,String> getTags()
The list of tag keys and values associated with this feature.
public void setTags(Map<String,String> tags)
The list of tag keys and values associated with this feature.
tags
- The list of tag keys and values associated with this feature.public FeatureSummary withTags(Map<String,String> tags)
The list of tag keys and values associated with this feature.
tags
- The list of tag keys and values associated with this feature.public FeatureSummary addTagsEntry(String key, String value)
public FeatureSummary clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public FeatureSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.