Interface EvaluationResult.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluationResult.Builder,EvaluationResult>,SdkBuilder<EvaluationResult.Builder,EvaluationResult>,SdkPojo
- Enclosing class:
- EvaluationResult
public static interface EvaluationResult.Builder extends SdkPojo, CopyableBuilder<EvaluationResult.Builder,EvaluationResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EvaluationResult.Builderannotation(String annotation)Supplementary information about how the evaluation determined the compliance.EvaluationResult.BuildercomplianceType(String complianceType)Indicates whether the Amazon Web Services resource complies with the Config rule that evaluated it.EvaluationResult.BuildercomplianceType(ComplianceType complianceType)Indicates whether the Amazon Web Services resource complies with the Config rule that evaluated it.EvaluationResult.BuilderconfigRuleInvokedTime(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.EvaluationResult.BuilderevaluationResultIdentifier(EvaluationResultIdentifier evaluationResultIdentifier)Uniquely identifies the evaluation result.EvaluationResult.BuilderresultRecordedTime(Instant resultRecordedTime)The time when Config recorded the evaluation result.EvaluationResult.BuilderresultToken(String resultToken)An encrypted token that associates an evaluation with an Config rule.-
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
-
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:
evaluationResultIdentifier(EvaluationResultIdentifier)
-
complianceType
EvaluationResult.Builder complianceType(String 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,ComplianceType
-
complianceType
EvaluationResult.Builder complianceType(ComplianceType 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,ComplianceType
-
resultRecordedTime
EvaluationResult.Builder resultRecordedTime(Instant 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
EvaluationResult.Builder configRuleInvokedTime(Instant 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
EvaluationResult.Builder annotation(String 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
EvaluationResult.Builder resultToken(String 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.
-
-