@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComplianceDrift extends Object implements Serializable, Cloneable, StructuredPojo
Indicates the compliance drifts (recovery time objective (RTO) and recovery point objective (RPO)) that were detected for an assessed entity.
Constructor and Description |
---|
ComplianceDrift() |
Modifier and Type | Method and Description |
---|---|
ComplianceDrift |
addActualValueEntry(String key,
DisruptionCompliance value)
Add a single ActualValue entry
|
ComplianceDrift |
addExpectedValueEntry(String key,
DisruptionCompliance value)
Add a single ExpectedValue entry
|
ComplianceDrift |
clearActualValueEntries()
Removes all the entries added into ActualValue.
|
ComplianceDrift |
clearExpectedValueEntries()
Removes all the entries added into ExpectedValue.
|
ComplianceDrift |
clone() |
boolean |
equals(Object obj) |
String |
getActualReferenceId()
Assessment identifier that is associated with this drift item.
|
Map<String,DisruptionCompliance> |
getActualValue()
Actual compliance value of the entity.
|
String |
getAppId()
Identifier of your application.
|
String |
getAppVersion()
Published version of your application on which drift was detected.
|
String |
getDiffType()
Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO)
values.
|
String |
getDriftType()
The type of drift detected.
|
String |
getEntityId()
Identifier of an entity in which drift was detected.
|
String |
getEntityType()
The type of entity in which drift was detected.
|
String |
getExpectedReferenceId()
Assessment identifier of a previous assessment of the same application version.
|
Map<String,DisruptionCompliance> |
getExpectedValue()
The expected compliance value of an entity.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActualReferenceId(String actualReferenceId)
Assessment identifier that is associated with this drift item.
|
void |
setActualValue(Map<String,DisruptionCompliance> actualValue)
Actual compliance value of the entity.
|
void |
setAppId(String appId)
Identifier of your application.
|
void |
setAppVersion(String appVersion)
Published version of your application on which drift was detected.
|
void |
setDiffType(String diffType)
Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO)
values.
|
void |
setDriftType(String driftType)
The type of drift detected.
|
void |
setEntityId(String entityId)
Identifier of an entity in which drift was detected.
|
void |
setEntityType(String entityType)
The type of entity in which drift was detected.
|
void |
setExpectedReferenceId(String expectedReferenceId)
Assessment identifier of a previous assessment of the same application version.
|
void |
setExpectedValue(Map<String,DisruptionCompliance> expectedValue)
The expected compliance value of an entity.
|
String |
toString()
Returns a string representation of this object.
|
ComplianceDrift |
withActualReferenceId(String actualReferenceId)
Assessment identifier that is associated with this drift item.
|
ComplianceDrift |
withActualValue(Map<String,DisruptionCompliance> actualValue)
Actual compliance value of the entity.
|
ComplianceDrift |
withAppId(String appId)
Identifier of your application.
|
ComplianceDrift |
withAppVersion(String appVersion)
Published version of your application on which drift was detected.
|
ComplianceDrift |
withDiffType(DifferenceType diffType)
Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO)
values.
|
ComplianceDrift |
withDiffType(String diffType)
Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO)
values.
|
ComplianceDrift |
withDriftType(DriftType driftType)
The type of drift detected.
|
ComplianceDrift |
withDriftType(String driftType)
The type of drift detected.
|
ComplianceDrift |
withEntityId(String entityId)
Identifier of an entity in which drift was detected.
|
ComplianceDrift |
withEntityType(String entityType)
The type of entity in which drift was detected.
|
ComplianceDrift |
withExpectedReferenceId(String expectedReferenceId)
Assessment identifier of a previous assessment of the same application version.
|
ComplianceDrift |
withExpectedValue(Map<String,DisruptionCompliance> expectedValue)
The expected compliance value of an entity.
|
public void setActualReferenceId(String actualReferenceId)
Assessment identifier that is associated with this drift item.
actualReferenceId
- Assessment identifier that is associated with this drift item.public String getActualReferenceId()
Assessment identifier that is associated with this drift item.
public ComplianceDrift withActualReferenceId(String actualReferenceId)
Assessment identifier that is associated with this drift item.
actualReferenceId
- Assessment identifier that is associated with this drift item.public Map<String,DisruptionCompliance> getActualValue()
Actual compliance value of the entity.
public void setActualValue(Map<String,DisruptionCompliance> actualValue)
Actual compliance value of the entity.
actualValue
- Actual compliance value of the entity.public ComplianceDrift withActualValue(Map<String,DisruptionCompliance> actualValue)
Actual compliance value of the entity.
actualValue
- Actual compliance value of the entity.public ComplianceDrift addActualValueEntry(String key, DisruptionCompliance value)
public ComplianceDrift clearActualValueEntries()
public void setAppId(String appId)
Identifier of your application.
appId
- Identifier of your application.public String getAppId()
Identifier of your application.
public ComplianceDrift withAppId(String appId)
Identifier of your application.
appId
- Identifier of your application.public void setAppVersion(String appVersion)
Published version of your application on which drift was detected.
appVersion
- Published version of your application on which drift was detected.public String getAppVersion()
Published version of your application on which drift was detected.
public ComplianceDrift withAppVersion(String appVersion)
Published version of your application on which drift was detected.
appVersion
- Published version of your application on which drift was detected.public void setDiffType(String diffType)
Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO) values. Currently, Resilience Hub supports only NotEqual difference type.
diffType
- Difference type between actual and expected recovery point objective (RPO) and recovery time objective
(RTO) values. Currently, Resilience Hub supports only NotEqual difference type.DifferenceType
public String getDiffType()
Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO) values. Currently, Resilience Hub supports only NotEqual difference type.
DifferenceType
public ComplianceDrift withDiffType(String diffType)
Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO) values. Currently, Resilience Hub supports only NotEqual difference type.
diffType
- Difference type between actual and expected recovery point objective (RPO) and recovery time objective
(RTO) values. Currently, Resilience Hub supports only NotEqual difference type.DifferenceType
public ComplianceDrift withDiffType(DifferenceType diffType)
Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO) values. Currently, Resilience Hub supports only NotEqual difference type.
diffType
- Difference type between actual and expected recovery point objective (RPO) and recovery time objective
(RTO) values. Currently, Resilience Hub supports only NotEqual difference type.DifferenceType
public void setDriftType(String driftType)
The type of drift detected. Currently, Resilience Hub supports only ApplicationCompliance drift type.
driftType
- The type of drift detected. Currently, Resilience Hub supports only ApplicationCompliance drift
type.DriftType
public String getDriftType()
The type of drift detected. Currently, Resilience Hub supports only ApplicationCompliance drift type.
DriftType
public ComplianceDrift withDriftType(String driftType)
The type of drift detected. Currently, Resilience Hub supports only ApplicationCompliance drift type.
driftType
- The type of drift detected. Currently, Resilience Hub supports only ApplicationCompliance drift
type.DriftType
public ComplianceDrift withDriftType(DriftType driftType)
The type of drift detected. Currently, Resilience Hub supports only ApplicationCompliance drift type.
driftType
- The type of drift detected. Currently, Resilience Hub supports only ApplicationCompliance drift
type.DriftType
public void setEntityId(String entityId)
Identifier of an entity in which drift was detected. For compliance drift, the entity ID can be either application ID or the AppComponent ID.
entityId
- Identifier of an entity in which drift was detected. For compliance drift, the entity ID can be either
application ID or the AppComponent ID.public String getEntityId()
Identifier of an entity in which drift was detected. For compliance drift, the entity ID can be either application ID or the AppComponent ID.
public ComplianceDrift withEntityId(String entityId)
Identifier of an entity in which drift was detected. For compliance drift, the entity ID can be either application ID or the AppComponent ID.
entityId
- Identifier of an entity in which drift was detected. For compliance drift, the entity ID can be either
application ID or the AppComponent ID.public void setEntityType(String entityType)
The type of entity in which drift was detected. For compliance drifts, Resilience Hub supports
AWS::ResilienceHub::AppComponent
and AWS::ResilienceHub::Application
.
entityType
- The type of entity in which drift was detected. For compliance drifts, Resilience Hub supports
AWS::ResilienceHub::AppComponent
and AWS::ResilienceHub::Application
.public String getEntityType()
The type of entity in which drift was detected. For compliance drifts, Resilience Hub supports
AWS::ResilienceHub::AppComponent
and AWS::ResilienceHub::Application
.
AWS::ResilienceHub::AppComponent
and AWS::ResilienceHub::Application
.public ComplianceDrift withEntityType(String entityType)
The type of entity in which drift was detected. For compliance drifts, Resilience Hub supports
AWS::ResilienceHub::AppComponent
and AWS::ResilienceHub::Application
.
entityType
- The type of entity in which drift was detected. For compliance drifts, Resilience Hub supports
AWS::ResilienceHub::AppComponent
and AWS::ResilienceHub::Application
.public void setExpectedReferenceId(String expectedReferenceId)
Assessment identifier of a previous assessment of the same application version. Resilience Hub uses the previous assessment (associated with the reference identifier) to compare the compliance with the current assessment to identify drifts.
expectedReferenceId
- Assessment identifier of a previous assessment of the same application version. Resilience Hub uses the
previous assessment (associated with the reference identifier) to compare the compliance with the current
assessment to identify drifts.public String getExpectedReferenceId()
Assessment identifier of a previous assessment of the same application version. Resilience Hub uses the previous assessment (associated with the reference identifier) to compare the compliance with the current assessment to identify drifts.
public ComplianceDrift withExpectedReferenceId(String expectedReferenceId)
Assessment identifier of a previous assessment of the same application version. Resilience Hub uses the previous assessment (associated with the reference identifier) to compare the compliance with the current assessment to identify drifts.
expectedReferenceId
- Assessment identifier of a previous assessment of the same application version. Resilience Hub uses the
previous assessment (associated with the reference identifier) to compare the compliance with the current
assessment to identify drifts.public Map<String,DisruptionCompliance> getExpectedValue()
The expected compliance value of an entity.
public void setExpectedValue(Map<String,DisruptionCompliance> expectedValue)
The expected compliance value of an entity.
expectedValue
- The expected compliance value of an entity.public ComplianceDrift withExpectedValue(Map<String,DisruptionCompliance> expectedValue)
The expected compliance value of an entity.
expectedValue
- The expected compliance value of an entity.public ComplianceDrift addExpectedValueEntry(String key, DisruptionCompliance value)
public ComplianceDrift clearExpectedValueEntries()
public String toString()
toString
in class Object
Object.toString()
public ComplianceDrift clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.