@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResiliencyScore extends Object implements Serializable, Cloneable, StructuredPojo
The overall resiliency score, returned as an object that includes the disruption score and outage score.
Constructor and Description |
---|
ResiliencyScore() |
Modifier and Type | Method and Description |
---|---|
ResiliencyScore |
addDisruptionScoreEntry(String key,
Double value)
Add a single DisruptionScore entry
|
ResiliencyScore |
clearDisruptionScoreEntries()
Removes all the entries added into DisruptionScore.
|
ResiliencyScore |
clone() |
boolean |
equals(Object obj) |
Map<String,Double> |
getDisruptionScore()
The disruption score for a valid key.
|
Double |
getScore()
The outage score for a valid key.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDisruptionScore(Map<String,Double> disruptionScore)
The disruption score for a valid key.
|
void |
setScore(Double score)
The outage score for a valid key.
|
String |
toString()
Returns a string representation of this object.
|
ResiliencyScore |
withDisruptionScore(Map<String,Double> disruptionScore)
The disruption score for a valid key.
|
ResiliencyScore |
withScore(Double score)
The outage score for a valid key.
|
public Map<String,Double> getDisruptionScore()
The disruption score for a valid key.
public void setDisruptionScore(Map<String,Double> disruptionScore)
The disruption score for a valid key.
disruptionScore
- The disruption score for a valid key.public ResiliencyScore withDisruptionScore(Map<String,Double> disruptionScore)
The disruption score for a valid key.
disruptionScore
- The disruption score for a valid key.public ResiliencyScore addDisruptionScoreEntry(String key, Double value)
public ResiliencyScore clearDisruptionScoreEntries()
public void setScore(Double score)
The outage score for a valid key.
score
- The outage score for a valid key.public Double getScore()
The outage score for a valid key.
public ResiliencyScore withScore(Double score)
The outage score for a valid key.
score
- The outage score for a valid key.public String toString()
toString
in class Object
Object.toString()
public ResiliencyScore clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.