Interface ComplianceDrift.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ComplianceDrift.Builder,ComplianceDrift>,SdkBuilder<ComplianceDrift.Builder,ComplianceDrift>,SdkPojo
- Enclosing class:
- ComplianceDrift
public static interface ComplianceDrift.Builder extends SdkPojo, CopyableBuilder<ComplianceDrift.Builder,ComplianceDrift>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComplianceDrift.BuilderactualReferenceId(String actualReferenceId)Assessment identifier that is associated with this drift item.ComplianceDrift.BuilderactualValue(Map<DisruptionType,DisruptionCompliance> actualValue)Actual compliance value of the entity.ComplianceDrift.BuilderactualValueWithStrings(Map<String,DisruptionCompliance> actualValue)Actual compliance value of the entity.ComplianceDrift.BuilderappId(String appId)Identifier of your application.ComplianceDrift.BuilderappVersion(String appVersion)Published version of your application on which drift was detected.ComplianceDrift.BuilderdiffType(String diffType)Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO) values.ComplianceDrift.BuilderdiffType(DifferenceType diffType)Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO) values.ComplianceDrift.BuilderdriftType(String driftType)The type of drift detected.ComplianceDrift.BuilderdriftType(DriftType driftType)The type of drift detected.ComplianceDrift.BuilderentityId(String entityId)Identifier of an entity in which drift was detected.ComplianceDrift.BuilderentityType(String entityType)The type of entity in which drift was detected.ComplianceDrift.BuilderexpectedReferenceId(String expectedReferenceId)Assessment identifier of a previous assessment of the same application version.ComplianceDrift.BuilderexpectedValue(Map<DisruptionType,DisruptionCompliance> expectedValue)The expected compliance value of an entity.ComplianceDrift.BuilderexpectedValueWithStrings(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, sdkFields
-
-
-
-
Method Detail
-
actualReferenceId
ComplianceDrift.Builder actualReferenceId(String 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
ComplianceDrift.Builder actualValueWithStrings(Map<String,DisruptionCompliance> 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.
-
actualValue
ComplianceDrift.Builder actualValue(Map<DisruptionType,DisruptionCompliance> 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
ComplianceDrift.Builder appId(String 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
ComplianceDrift.Builder appVersion(String 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
ComplianceDrift.Builder diffType(String diffType)
Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO) values. Currently, Resilience Hub supports only
NotEqualdifference type.- Parameters:
diffType- Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO) values. Currently, Resilience Hub supports onlyNotEqualdifference type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DifferenceType,DifferenceType
-
diffType
ComplianceDrift.Builder diffType(DifferenceType diffType)
Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO) values. Currently, Resilience Hub supports only
NotEqualdifference type.- Parameters:
diffType- Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO) values. Currently, Resilience Hub supports onlyNotEqualdifference type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DifferenceType,DifferenceType
-
driftType
ComplianceDrift.Builder driftType(String driftType)
The type of drift detected. Currently, Resilience Hub supports only ApplicationCompliance drift type.
-
driftType
ComplianceDrift.Builder driftType(DriftType driftType)
The type of drift detected. Currently, Resilience Hub supports only ApplicationCompliance drift type.
-
entityId
ComplianceDrift.Builder entityId(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.
- 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
ComplianceDrift.Builder entityType(String entityType)
The type of entity in which drift was detected. For compliance drifts, Resilience Hub supports
AWS::ResilienceHub::AppComponentandAWS::ResilienceHub::Application.- Parameters:
entityType- The type of entity in which drift was detected. For compliance drifts, Resilience Hub supportsAWS::ResilienceHub::AppComponentandAWS::ResilienceHub::Application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedReferenceId
ComplianceDrift.Builder expectedReferenceId(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.
- 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
ComplianceDrift.Builder expectedValueWithStrings(Map<String,DisruptionCompliance> 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.
-
expectedValue
ComplianceDrift.Builder expectedValue(Map<DisruptionType,DisruptionCompliance> 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.
-
-