Interface EvaluationResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluationResult.Builder,,EvaluationResult> SdkBuilder<EvaluationResult.Builder,,EvaluationResult> SdkPojo
- Enclosing class:
EvaluationResult
-
Method Summary
Modifier and TypeMethodDescriptionannotation(String annotation) Supplementary information about how the evaluation determined the compliance.complianceType(String complianceType) Indicates whether the Amazon Web Services resource complies with the Config rule that evaluated it.complianceType(ComplianceType complianceType) Indicates whether the Amazon Web Services resource complies with the Config rule that evaluated it.configRuleInvokedTime(Instant configRuleInvokedTime) The time when the Config rule evaluated the Amazon Web Services resource.default EvaluationResult.BuilderevaluationResultIdentifier(Consumer<EvaluationResultIdentifier.Builder> evaluationResultIdentifier) Uniquely identifies the evaluation result.evaluationResultIdentifier(EvaluationResultIdentifier evaluationResultIdentifier) Uniquely identifies the evaluation result.resultRecordedTime(Instant resultRecordedTime) The time when Config recorded the evaluation result.resultToken(String resultToken) An encrypted token that associates an evaluation with an Config rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
evaluationResultIdentifier
EvaluationResult.Builder evaluationResultIdentifier(EvaluationResultIdentifier evaluationResultIdentifier) Uniquely identifies the evaluation result.
- Parameters:
evaluationResultIdentifier- Uniquely identifies the evaluation result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationResultIdentifier
default EvaluationResult.Builder evaluationResultIdentifier(Consumer<EvaluationResultIdentifier.Builder> evaluationResultIdentifier) Uniquely identifies the evaluation result.
This is a convenience method that creates an instance of theEvaluationResultIdentifier.Builderavoiding the need to create one manually viaEvaluationResultIdentifier.builder().When the
Consumercompletes,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:
-
complianceType
Indicates whether the Amazon Web Services resource complies with the Config rule that evaluated it.
For the
EvaluationResultdata type, Config supports only theCOMPLIANT,NON_COMPLIANT, andNOT_APPLICABLEvalues. Config does not support theINSUFFICIENT_DATAvalue for theEvaluationResultdata type.- Parameters:
complianceType- Indicates whether the Amazon Web Services resource complies with the Config rule that evaluated it.For the
EvaluationResultdata type, Config supports only theCOMPLIANT,NON_COMPLIANT, andNOT_APPLICABLEvalues. Config does not support theINSUFFICIENT_DATAvalue for theEvaluationResultdata type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
complianceType
Indicates whether the Amazon Web Services resource complies with the Config rule that evaluated it.
For the
EvaluationResultdata type, Config supports only theCOMPLIANT,NON_COMPLIANT, andNOT_APPLICABLEvalues. Config does not support theINSUFFICIENT_DATAvalue for theEvaluationResultdata type.- Parameters:
complianceType- Indicates whether the Amazon Web Services resource complies with the Config rule that evaluated it.For the
EvaluationResultdata type, Config supports only theCOMPLIANT,NON_COMPLIANT, andNOT_APPLICABLEvalues. Config does not support theINSUFFICIENT_DATAvalue for theEvaluationResultdata type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
configRuleInvokedTime
The time when the Config rule evaluated the Amazon Web Services resource.
- Parameters:
configRuleInvokedTime- The time when the Config rule evaluated the Amazon Web Services resource.- 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.
-
resultToken
An encrypted token that associates an evaluation with an Config rule. The token identifies the rule, the Amazon Web Services resource being evaluated, and the event that triggered the evaluation.
- Parameters:
resultToken- An encrypted token that associates an evaluation with an Config rule. The token identifies the rule, the Amazon Web Services resource being evaluated, and the event that triggered the evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-