Interface ConformancePackEvaluationResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConformancePackEvaluationResult.Builder,
,ConformancePackEvaluationResult> SdkBuilder<ConformancePackEvaluationResult.Builder,
,ConformancePackEvaluationResult> SdkPojo
- Enclosing class:
ConformancePackEvaluationResult
public static interface ConformancePackEvaluationResult.Builder
extends SdkPojo, CopyableBuilder<ConformancePackEvaluationResult.Builder,ConformancePackEvaluationResult>
-
Method Summary
Modifier and TypeMethodDescriptionannotation
(String annotation) Supplementary information about how the evaluation determined the compliance.complianceType
(String complianceType) The compliance type.complianceType
(ConformancePackComplianceType complianceType) The compliance type.configRuleInvokedTime
(Instant configRuleInvokedTime) The time when Config rule evaluated Amazon Web Services resource.evaluationResultIdentifier
(Consumer<EvaluationResultIdentifier.Builder> evaluationResultIdentifier) Sets the value of the EvaluationResultIdentifier property for this object.evaluationResultIdentifier
(EvaluationResultIdentifier evaluationResultIdentifier) Sets the value of the EvaluationResultIdentifier property for this object.resultRecordedTime
(Instant resultRecordedTime) The time when Config recorded the evaluation result.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 Details
-
complianceType
The compliance type. The allowed values are
COMPLIANT
andNON_COMPLIANT
.INSUFFICIENT_DATA
is not supported.- Parameters:
complianceType
- The compliance type. The allowed values areCOMPLIANT
andNON_COMPLIANT
.INSUFFICIENT_DATA
is not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
complianceType
ConformancePackEvaluationResult.Builder complianceType(ConformancePackComplianceType complianceType) The compliance type. The allowed values are
COMPLIANT
andNON_COMPLIANT
.INSUFFICIENT_DATA
is not supported.- Parameters:
complianceType
- The compliance type. The allowed values areCOMPLIANT
andNON_COMPLIANT
.INSUFFICIENT_DATA
is not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evaluationResultIdentifier
ConformancePackEvaluationResult.Builder evaluationResultIdentifier(EvaluationResultIdentifier evaluationResultIdentifier) Sets the value of the EvaluationResultIdentifier property for this object.- Parameters:
evaluationResultIdentifier
- The new value for the EvaluationResultIdentifier property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationResultIdentifier
default ConformancePackEvaluationResult.Builder evaluationResultIdentifier(Consumer<EvaluationResultIdentifier.Builder> evaluationResultIdentifier) Sets the value of the EvaluationResultIdentifier property for this object. This is a convenience method that creates an instance of theEvaluationResultIdentifier.Builder
avoiding the need to create one manually viaEvaluationResultIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevaluationResultIdentifier(EvaluationResultIdentifier)
.- Parameters:
evaluationResultIdentifier
- a consumer that will call methods onEvaluationResultIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configRuleInvokedTime
The time when Config rule evaluated Amazon Web Services resource.
- Parameters:
configRuleInvokedTime
- The time when Config rule evaluated Amazon Web Services resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultRecordedTime
The time when Config recorded the evaluation result.
- Parameters:
resultRecordedTime
- The time when Config recorded the evaluation result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
annotation
Supplementary information about how the evaluation determined the compliance.
- Parameters:
annotation
- Supplementary information about how the evaluation determined the compliance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-