Interface ComplianceDrift.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ComplianceDrift.Builder,
,ComplianceDrift> SdkBuilder<ComplianceDrift.Builder,
,ComplianceDrift> SdkPojo
- Enclosing class:
ComplianceDrift
-
Method Summary
Modifier and TypeMethodDescriptionactualReferenceId
(String actualReferenceId) Assessment identifier that is associated with this drift item.actualValue
(Map<DisruptionType, DisruptionCompliance> actualValue) Actual compliance value of the entity.actualValueWithStrings
(Map<String, DisruptionCompliance> actualValue) Actual compliance value of the entity.Identifier of your application.appVersion
(String appVersion) Published version of your application on which drift was detected.Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO) values.diffType
(DifferenceType diffType) Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO) values.The type of drift detected.The type of drift detected.Identifier of an entity in which drift was detected.entityType
(String entityType) The type of entity in which drift was detected.expectedReferenceId
(String expectedReferenceId) Assessment identifier of a previous assessment of the same application version.expectedValue
(Map<DisruptionType, DisruptionCompliance> expectedValue) The expected compliance value of an entity.expectedValueWithStrings
(Map<String, DisruptionCompliance> expectedValue) The expected compliance value of an entity.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
actualReferenceId
Assessment identifier that is associated with this drift item.
- Parameters:
actualReferenceId
- Assessment identifier that is associated with this drift item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actualValueWithStrings
Actual compliance value of the entity.
- Parameters:
actualValue
- Actual compliance value of the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actualValue
Actual compliance value of the entity.
- Parameters:
actualValue
- Actual compliance value of the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appId
Identifier of your application.
- Parameters:
appId
- Identifier of your application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appVersion
Published version of your application on which drift was detected.
- Parameters:
appVersion
- Published version of your application on which drift was detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
diffType
- Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO) values. Currently, Resilience Hub supports onlyNotEqual
difference type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
diffType
- Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO) values. Currently, Resilience Hub supports onlyNotEqual
difference type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
driftType
The type of drift detected. Currently, Resilience Hub supports only ApplicationCompliance drift type.
- Parameters:
driftType
- The type of drift detected. Currently, Resilience Hub supports only ApplicationCompliance drift type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
driftType
The type of drift detected. Currently, Resilience Hub supports only ApplicationCompliance drift type.
- Parameters:
driftType
- The type of drift detected. Currently, Resilience Hub supports only ApplicationCompliance drift type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityType
The type of entity in which drift was detected. For compliance drifts, Resilience Hub supports
AWS::ResilienceHub::AppComponent
andAWS::ResilienceHub::Application
.- Parameters:
entityType
- The type of entity in which drift was detected. For compliance drifts, Resilience Hub supportsAWS::ResilienceHub::AppComponent
andAWS::ResilienceHub::Application
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedValueWithStrings
The expected compliance value of an entity.
- Parameters:
expectedValue
- The expected compliance value of an entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedValue
The expected compliance value of an entity.
- Parameters:
expectedValue
- The expected compliance value of an entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-