@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ProactiveInsightSummary extends Object implements Serializable, Cloneable, StructuredPojo
Details about a proactive insight. This object is returned by DescribeInsight.
Constructor and Description |
---|
ProactiveInsightSummary() |
Modifier and Type | Method and Description |
---|---|
ProactiveInsightSummary |
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 |
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 |
setStatus(String status)
The status of the proactive insight.
|
String |
toString()
Returns a string representation of this object.
|
ProactiveInsightSummary |
withId(String id)
The ID of the proactive insight.
|
ProactiveInsightSummary |
withInsightTimeRange(InsightTimeRange insightTimeRange) |
ProactiveInsightSummary |
withName(String name)
The name of the proactive insight.
|
ProactiveInsightSummary |
withPredictionTimeRange(PredictionTimeRange predictionTimeRange) |
ProactiveInsightSummary |
withResourceCollection(ResourceCollection resourceCollection) |
ProactiveInsightSummary |
withSeverity(InsightSeverity severity)
The severity of the proactive insight.
|
ProactiveInsightSummary |
withSeverity(String severity)
The severity of the proactive insight.
|
ProactiveInsightSummary |
withStatus(InsightStatus status)
The status of the proactive insight.
|
ProactiveInsightSummary |
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 ProactiveInsightSummary 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 ProactiveInsightSummary 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 ProactiveInsightSummary withSeverity(String severity)
The severity of the proactive insight.
severity
- The severity of the proactive insight.InsightSeverity
public ProactiveInsightSummary 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 ProactiveInsightSummary withStatus(String status)
The status of the proactive insight.
status
- The status of the proactive insight.InsightStatus
public ProactiveInsightSummary 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 ProactiveInsightSummary withInsightTimeRange(InsightTimeRange insightTimeRange)
insightTimeRange
- public void setPredictionTimeRange(PredictionTimeRange predictionTimeRange)
predictionTimeRange
- public PredictionTimeRange getPredictionTimeRange()
public ProactiveInsightSummary withPredictionTimeRange(PredictionTimeRange predictionTimeRange)
predictionTimeRange
- public void setResourceCollection(ResourceCollection resourceCollection)
resourceCollection
- public ResourceCollection getResourceCollection()
public ProactiveInsightSummary withResourceCollection(ResourceCollection resourceCollection)
resourceCollection
- public String toString()
toString
in class Object
Object.toString()
public ProactiveInsightSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.