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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ConformancePackEvaluationResult.Builderannotation(String annotation)Supplementary information about how the evaluation determined the compliance.ConformancePackEvaluationResult.BuildercomplianceType(String complianceType)The compliance type.ConformancePackEvaluationResult.BuildercomplianceType(ConformancePackComplianceType complianceType)The compliance type.ConformancePackEvaluationResult.BuilderconfigRuleInvokedTime(Instant configRuleInvokedTime)The time when Config rule evaluated Amazon Web Services resource.default ConformancePackEvaluationResult.BuilderevaluationResultIdentifier(Consumer<EvaluationResultIdentifier.Builder> evaluationResultIdentifier)Sets the value of the EvaluationResultIdentifier property for this object.ConformancePackEvaluationResult.BuilderevaluationResultIdentifier(EvaluationResultIdentifier evaluationResultIdentifier)Sets the value of the EvaluationResultIdentifier property for this object.ConformancePackEvaluationResult.BuilderresultRecordedTime(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 Detail
-
complianceType
ConformancePackEvaluationResult.Builder complianceType(String complianceType)
The compliance type. The allowed values are
COMPLIANTandNON_COMPLIANT.INSUFFICIENT_DATAis not supported.- Parameters:
complianceType- The compliance type. The allowed values areCOMPLIANTandNON_COMPLIANT.INSUFFICIENT_DATAis not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConformancePackComplianceType,ConformancePackComplianceType
-
complianceType
ConformancePackEvaluationResult.Builder complianceType(ConformancePackComplianceType complianceType)
The compliance type. The allowed values are
COMPLIANTandNON_COMPLIANT.INSUFFICIENT_DATAis not supported.- Parameters:
complianceType- The compliance type. The allowed values areCOMPLIANTandNON_COMPLIANT.INSUFFICIENT_DATAis not supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConformancePackComplianceType,ConformancePackComplianceType
-
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.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)
-
configRuleInvokedTime
ConformancePackEvaluationResult.Builder configRuleInvokedTime(Instant 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
ConformancePackEvaluationResult.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.
-
annotation
ConformancePackEvaluationResult.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.
-
-