@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Insight extends Object implements Serializable, Cloneable, StructuredPojo
A check that provides recommendations to remedy potential upgrade-impacting issues.
Constructor and Description |
---|
Insight() |
Modifier and Type | Method and Description |
---|---|
Insight |
addAdditionalInfoEntry(String key,
String value)
Add a single AdditionalInfo entry
|
Insight |
clearAdditionalInfoEntries()
Removes all the entries added into AdditionalInfo.
|
Insight |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAdditionalInfo()
Links to sources that provide additional context on the insight.
|
String |
getCategory()
The category of the insight.
|
InsightCategorySpecificSummary |
getCategorySpecificSummary()
Summary information that relates to the category of the insight.
|
String |
getDescription()
The description of the insight which includes alert criteria, remediation recommendation, and additional
resources (contains Markdown).
|
String |
getId()
The ID of the insight.
|
InsightStatus |
getInsightStatus()
An object containing more detail on the status of the insight resource.
|
String |
getKubernetesVersion()
The Kubernetes minor version associated with an insight if applicable.
|
Date |
getLastRefreshTime()
The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.
|
Date |
getLastTransitionTime()
The time the status of the insight last changed.
|
String |
getName()
The name of the insight.
|
String |
getRecommendation()
A summary of how to remediate the finding of this insight if applicable.
|
List<InsightResourceDetail> |
getResources()
The details about each resource listed in the insight check result.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdditionalInfo(Map<String,String> additionalInfo)
Links to sources that provide additional context on the insight.
|
void |
setCategory(String category)
The category of the insight.
|
void |
setCategorySpecificSummary(InsightCategorySpecificSummary categorySpecificSummary)
Summary information that relates to the category of the insight.
|
void |
setDescription(String description)
The description of the insight which includes alert criteria, remediation recommendation, and additional
resources (contains Markdown).
|
void |
setId(String id)
The ID of the insight.
|
void |
setInsightStatus(InsightStatus insightStatus)
An object containing more detail on the status of the insight resource.
|
void |
setKubernetesVersion(String kubernetesVersion)
The Kubernetes minor version associated with an insight if applicable.
|
void |
setLastRefreshTime(Date lastRefreshTime)
The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.
|
void |
setLastTransitionTime(Date lastTransitionTime)
The time the status of the insight last changed.
|
void |
setName(String name)
The name of the insight.
|
void |
setRecommendation(String recommendation)
A summary of how to remediate the finding of this insight if applicable.
|
void |
setResources(Collection<InsightResourceDetail> resources)
The details about each resource listed in the insight check result.
|
String |
toString()
Returns a string representation of this object.
|
Insight |
withAdditionalInfo(Map<String,String> additionalInfo)
Links to sources that provide additional context on the insight.
|
Insight |
withCategory(Category category)
The category of the insight.
|
Insight |
withCategory(String category)
The category of the insight.
|
Insight |
withCategorySpecificSummary(InsightCategorySpecificSummary categorySpecificSummary)
Summary information that relates to the category of the insight.
|
Insight |
withDescription(String description)
The description of the insight which includes alert criteria, remediation recommendation, and additional
resources (contains Markdown).
|
Insight |
withId(String id)
The ID of the insight.
|
Insight |
withInsightStatus(InsightStatus insightStatus)
An object containing more detail on the status of the insight resource.
|
Insight |
withKubernetesVersion(String kubernetesVersion)
The Kubernetes minor version associated with an insight if applicable.
|
Insight |
withLastRefreshTime(Date lastRefreshTime)
The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.
|
Insight |
withLastTransitionTime(Date lastTransitionTime)
The time the status of the insight last changed.
|
Insight |
withName(String name)
The name of the insight.
|
Insight |
withRecommendation(String recommendation)
A summary of how to remediate the finding of this insight if applicable.
|
Insight |
withResources(Collection<InsightResourceDetail> resources)
The details about each resource listed in the insight check result.
|
Insight |
withResources(InsightResourceDetail... resources)
The details about each resource listed in the insight check result.
|
public void setId(String id)
The ID of the insight.
id
- The ID of the insight.public String getId()
The ID of the insight.
public Insight withId(String id)
The ID of the insight.
id
- The ID of the insight.public void setName(String name)
The name of the insight.
name
- The name of the insight.public String getName()
The name of the insight.
public Insight withName(String name)
The name of the insight.
name
- The name of the insight.public void setCategory(String category)
The category of the insight.
category
- The category of the insight.Category
public String getCategory()
The category of the insight.
Category
public Insight withCategory(String category)
The category of the insight.
category
- The category of the insight.Category
public Insight withCategory(Category category)
The category of the insight.
category
- The category of the insight.Category
public void setKubernetesVersion(String kubernetesVersion)
The Kubernetes minor version associated with an insight if applicable.
kubernetesVersion
- The Kubernetes minor version associated with an insight if applicable.public String getKubernetesVersion()
The Kubernetes minor version associated with an insight if applicable.
public Insight withKubernetesVersion(String kubernetesVersion)
The Kubernetes minor version associated with an insight if applicable.
kubernetesVersion
- The Kubernetes minor version associated with an insight if applicable.public void setLastRefreshTime(Date lastRefreshTime)
The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.
lastRefreshTime
- The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.public Date getLastRefreshTime()
The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.
public Insight withLastRefreshTime(Date lastRefreshTime)
The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.
lastRefreshTime
- The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.public void setLastTransitionTime(Date lastTransitionTime)
The time the status of the insight last changed.
lastTransitionTime
- The time the status of the insight last changed.public Date getLastTransitionTime()
The time the status of the insight last changed.
public Insight withLastTransitionTime(Date lastTransitionTime)
The time the status of the insight last changed.
lastTransitionTime
- The time the status of the insight last changed.public void setDescription(String description)
The description of the insight which includes alert criteria, remediation recommendation, and additional resources (contains Markdown).
description
- The description of the insight which includes alert criteria, remediation recommendation, and additional
resources (contains Markdown).public String getDescription()
The description of the insight which includes alert criteria, remediation recommendation, and additional resources (contains Markdown).
public Insight withDescription(String description)
The description of the insight which includes alert criteria, remediation recommendation, and additional resources (contains Markdown).
description
- The description of the insight which includes alert criteria, remediation recommendation, and additional
resources (contains Markdown).public void setInsightStatus(InsightStatus insightStatus)
An object containing more detail on the status of the insight resource.
insightStatus
- An object containing more detail on the status of the insight resource.public InsightStatus getInsightStatus()
An object containing more detail on the status of the insight resource.
public Insight withInsightStatus(InsightStatus insightStatus)
An object containing more detail on the status of the insight resource.
insightStatus
- An object containing more detail on the status of the insight resource.public void setRecommendation(String recommendation)
A summary of how to remediate the finding of this insight if applicable.
recommendation
- A summary of how to remediate the finding of this insight if applicable.public String getRecommendation()
A summary of how to remediate the finding of this insight if applicable.
public Insight withRecommendation(String recommendation)
A summary of how to remediate the finding of this insight if applicable.
recommendation
- A summary of how to remediate the finding of this insight if applicable.public Map<String,String> getAdditionalInfo()
Links to sources that provide additional context on the insight.
public void setAdditionalInfo(Map<String,String> additionalInfo)
Links to sources that provide additional context on the insight.
additionalInfo
- Links to sources that provide additional context on the insight.public Insight withAdditionalInfo(Map<String,String> additionalInfo)
Links to sources that provide additional context on the insight.
additionalInfo
- Links to sources that provide additional context on the insight.public Insight addAdditionalInfoEntry(String key, String value)
public Insight clearAdditionalInfoEntries()
public List<InsightResourceDetail> getResources()
The details about each resource listed in the insight check result.
public void setResources(Collection<InsightResourceDetail> resources)
The details about each resource listed in the insight check result.
resources
- The details about each resource listed in the insight check result.public Insight withResources(InsightResourceDetail... resources)
The details about each resource listed in the insight check result.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection)
or withResources(java.util.Collection)
if you want to
override the existing values.
resources
- The details about each resource listed in the insight check result.public Insight withResources(Collection<InsightResourceDetail> resources)
The details about each resource listed in the insight check result.
resources
- The details about each resource listed in the insight check result.public void setCategorySpecificSummary(InsightCategorySpecificSummary categorySpecificSummary)
Summary information that relates to the category of the insight. Currently only returned with certain insights
having category UPGRADE_READINESS
.
categorySpecificSummary
- Summary information that relates to the category of the insight. Currently only returned with certain
insights having category UPGRADE_READINESS
.public InsightCategorySpecificSummary getCategorySpecificSummary()
Summary information that relates to the category of the insight. Currently only returned with certain insights
having category UPGRADE_READINESS
.
UPGRADE_READINESS
.public Insight withCategorySpecificSummary(InsightCategorySpecificSummary categorySpecificSummary)
Summary information that relates to the category of the insight. Currently only returned with certain insights
having category UPGRADE_READINESS
.
categorySpecificSummary
- Summary information that relates to the category of the insight. Currently only returned with certain
insights having category UPGRADE_READINESS
.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.