Interface ComplianceDrift.Builder

    • 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 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 only NotEqual difference 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 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 only NotEqual difference 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.

        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, DriftType
      • driftType

        ComplianceDrift.Builder driftType​(DriftType 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, DriftType
      • 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::AppComponent and AWS::ResilienceHub::Application.

        Parameters:
        entityType - The type of entity in which drift was detected. For compliance drifts, Resilience Hub supports AWS::ResilienceHub::AppComponent and AWS::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.