Interface DecisionEvidence.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DecisionEvidence.Builder,,DecisionEvidence> SdkBuilder<DecisionEvidence.Builder,,DecisionEvidence> SdkPojo
- Enclosing class:
DecisionEvidence
-
Method Summary
Modifier and TypeMethodDescriptiondefault DecisionEvidence.BuildermandatoryBaseline(Consumer<MandatoryBaselineEvidence.Builder> mandatoryBaseline) The service-managed malicious-package baseline matched the package.mandatoryBaseline(MandatoryBaselineEvidence mandatoryBaseline) The service-managed malicious-package baseline matched the package.default DecisionEvidence.BuilderpolicyException(Consumer<PolicyExceptionEvidence.Builder> policyException) A policy exception suppressed one or more matching rules.policyException(PolicyExceptionEvidence policyException) A policy exception suppressed one or more matching rules.default DecisionEvidence.BuilderpolicyRuleMatch(Consumer<PolicyRuleMatchEvidence.Builder> policyRuleMatch) A rule in one of your policies matched the package.policyRuleMatch(PolicyRuleMatchEvidence policyRuleMatch) A rule in one of your policies matched the package.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
-
mandatoryBaseline
The service-managed malicious-package baseline matched the package.
- Parameters:
mandatoryBaseline- The service-managed malicious-package baseline matched the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mandatoryBaseline
default DecisionEvidence.Builder mandatoryBaseline(Consumer<MandatoryBaselineEvidence.Builder> mandatoryBaseline) The service-managed malicious-package baseline matched the package.
This is a convenience method that creates an instance of theMandatoryBaselineEvidence.Builderavoiding the need to create one manually viaMandatoryBaselineEvidence.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomandatoryBaseline(MandatoryBaselineEvidence).- Parameters:
mandatoryBaseline- a consumer that will call methods onMandatoryBaselineEvidence.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyRuleMatch
A rule in one of your policies matched the package.
- Parameters:
policyRuleMatch- A rule in one of your policies matched the package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyRuleMatch
default DecisionEvidence.Builder policyRuleMatch(Consumer<PolicyRuleMatchEvidence.Builder> policyRuleMatch) A rule in one of your policies matched the package.
This is a convenience method that creates an instance of thePolicyRuleMatchEvidence.Builderavoiding the need to create one manually viaPolicyRuleMatchEvidence.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicyRuleMatch(PolicyRuleMatchEvidence).- Parameters:
policyRuleMatch- a consumer that will call methods onPolicyRuleMatchEvidence.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyException
A policy exception suppressed one or more matching rules.
- Parameters:
policyException- A policy exception suppressed one or more matching rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyException
default DecisionEvidence.Builder policyException(Consumer<PolicyExceptionEvidence.Builder> policyException) A policy exception suppressed one or more matching rules.
This is a convenience method that creates an instance of thePolicyExceptionEvidence.Builderavoiding the need to create one manually viaPolicyExceptionEvidence.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicyException(PolicyExceptionEvidence).- Parameters:
policyException- a consumer that will call methods onPolicyExceptionEvidence.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-