@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProactiveInsight extends Object implements Serializable, Cloneable, StructuredPojo
Details about a proactive insight. This object is returned by ListInsights
.
Constructor and Description |
---|
ProactiveInsight() |
Modifier and Type | Method and Description |
---|---|
ProactiveInsight |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The ID of the proactive insight.
|
InsightTimeRange |
getInsightTimeRange() |
String |
getName()
The name of the proactive insight.
|
PredictionTimeRange |
getPredictionTimeRange() |
ResourceCollection |
getResourceCollection() |
String |
getSeverity()
The severity of the proactive insight.
|
String |
getSsmOpsItemId()
The ID of the AWS System Manager OpsItem created for this insight.
|
String |
getStatus()
The status of the proactive insight.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The ID of the proactive insight.
|
void |
setInsightTimeRange(InsightTimeRange insightTimeRange) |
void |
setName(String name)
The name of the proactive insight.
|
void |
setPredictionTimeRange(PredictionTimeRange predictionTimeRange) |
void |
setResourceCollection(ResourceCollection resourceCollection) |
void |
setSeverity(String severity)
The severity of the proactive insight.
|
void |
setSsmOpsItemId(String ssmOpsItemId)
The ID of the AWS System Manager OpsItem created for this insight.
|
void |
setStatus(String status)
The status of the proactive insight.
|
String |
toString()
Returns a string representation of this object.
|
ProactiveInsight |
withId(String id)
The ID of the proactive insight.
|
ProactiveInsight |
withInsightTimeRange(InsightTimeRange insightTimeRange) |
ProactiveInsight |
withName(String name)
The name of the proactive insight.
|
ProactiveInsight |
withPredictionTimeRange(PredictionTimeRange predictionTimeRange) |
ProactiveInsight |
withResourceCollection(ResourceCollection resourceCollection) |
ProactiveInsight |
withSeverity(InsightSeverity severity)
The severity of the proactive insight.
|
ProactiveInsight |
withSeverity(String severity)
The severity of the proactive insight.
|
ProactiveInsight |
withSsmOpsItemId(String ssmOpsItemId)
The ID of the AWS System Manager OpsItem created for this insight.
|
ProactiveInsight |
withStatus(InsightStatus status)
The status of the proactive insight.
|
ProactiveInsight |
withStatus(String status)
The status of the proactive insight.
|
public void setId(String id)
The ID of the proactive insight.
id
- The ID of the proactive insight.public String getId()
The ID of the proactive insight.
public ProactiveInsight withId(String id)
The ID of the proactive insight.
id
- The ID of the proactive insight.public void setName(String name)
The name of the proactive insight.
name
- The name of the proactive insight.public String getName()
The name of the proactive insight.
public ProactiveInsight withName(String name)
The name of the proactive insight.
name
- The name of the proactive insight.public void setSeverity(String severity)
The severity of the proactive insight.
severity
- The severity of the proactive insight.InsightSeverity
public String getSeverity()
The severity of the proactive insight.
InsightSeverity
public ProactiveInsight withSeverity(String severity)
The severity of the proactive insight.
severity
- The severity of the proactive insight.InsightSeverity
public ProactiveInsight withSeverity(InsightSeverity severity)
The severity of the proactive insight.
severity
- The severity of the proactive insight.InsightSeverity
public void setStatus(String status)
The status of the proactive insight.
status
- The status of the proactive insight.InsightStatus
public String getStatus()
The status of the proactive insight.
InsightStatus
public ProactiveInsight withStatus(String status)
The status of the proactive insight.
status
- The status of the proactive insight.InsightStatus
public ProactiveInsight withStatus(InsightStatus status)
The status of the proactive insight.
status
- The status of the proactive insight.InsightStatus
public void setInsightTimeRange(InsightTimeRange insightTimeRange)
insightTimeRange
- public InsightTimeRange getInsightTimeRange()
public ProactiveInsight withInsightTimeRange(InsightTimeRange insightTimeRange)
insightTimeRange
- public void setPredictionTimeRange(PredictionTimeRange predictionTimeRange)
predictionTimeRange
- public PredictionTimeRange getPredictionTimeRange()
public ProactiveInsight withPredictionTimeRange(PredictionTimeRange predictionTimeRange)
predictionTimeRange
- public void setResourceCollection(ResourceCollection resourceCollection)
resourceCollection
- public ResourceCollection getResourceCollection()
public ProactiveInsight withResourceCollection(ResourceCollection resourceCollection)
resourceCollection
- public void setSsmOpsItemId(String ssmOpsItemId)
The ID of the AWS System Manager OpsItem created for this insight. You must enable the creation of OpstItems insights before they are created for each insight.
ssmOpsItemId
- The ID of the AWS System Manager OpsItem created for this insight. You must enable the creation of
OpstItems insights before they are created for each insight.public String getSsmOpsItemId()
The ID of the AWS System Manager OpsItem created for this insight. You must enable the creation of OpstItems insights before they are created for each insight.
public ProactiveInsight withSsmOpsItemId(String ssmOpsItemId)
The ID of the AWS System Manager OpsItem created for this insight. You must enable the creation of OpstItems insights before they are created for each insight.
ssmOpsItemId
- The ID of the AWS System Manager OpsItem created for this insight. You must enable the creation of
OpstItems insights before they are created for each insight.public String toString()
toString
in class Object
Object.toString()
public ProactiveInsight clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.