Interface PackageDecisionSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PackageDecisionSummary.Builder,,PackageDecisionSummary> SdkBuilder<PackageDecisionSummary.Builder,,PackageDecisionSummary> SdkPojo
- Enclosing class:
PackageDecisionSummary
-
Method Summary
Modifier and TypeMethodDescriptioncanonicalPurl(String canonicalPurl) The package URL (purl) that was evaluated, as accepted by the service.completedAt(Instant completedAt) The time the decision was recorded.decisionId(String decisionId) The ID of the decision.enforcementAction(String enforcementAction) The action the caller was told to take.enforcementAction(PackageAction enforcementAction) The action the caller was told to take.enforcementMode(String enforcementMode) The strongest enforcement mode among matches that a policy exception didn't suppress: ENFORCE for the malicious-package baseline or an enforced rule, AUDIT for an audit-mode rule.enforcementMode(EnforcementMode enforcementMode) The strongest enforcement mode among matches that a policy exception didn't suppress: ENFORCE for the malicious-package baseline or an enforced rule, AUDIT for an audit-mode rule.evaluatedAction(String evaluatedAction) The result of policy evaluation: DENY when the malicious-package baseline or a deny rule matched and no policy exception suppressed it, otherwise ALLOW.evaluatedAction(PackageAction evaluatedAction) The result of policy evaluation: DENY when the malicious-package baseline or a deny rule matched and no policy exception suppressed it, otherwise ALLOW.evaluatedAt(Instant evaluatedAt) The time the package was evaluated.Why the decision was made.reason(DecisionReason reason) Why the decision was made.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
-
decisionId
The ID of the decision.
- Parameters:
decisionId- The ID of the decision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluatedAt
The time the package was evaluated. Policy exceptions are applied based on this time.
- Parameters:
evaluatedAt- The time the package was evaluated. Policy exceptions are applied based on this time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedAt
The time the decision was recorded.
- Parameters:
completedAt- The time the decision was recorded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
canonicalPurl
The package URL (purl) that was evaluated, as accepted by the service.
- Parameters:
canonicalPurl- The package URL (purl) that was evaluated, as accepted by the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluatedAction
The result of policy evaluation: DENY when the malicious-package baseline or a deny rule matched and no policy exception suppressed it, otherwise ALLOW.
- Parameters:
evaluatedAction- The result of policy evaluation: DENY when the malicious-package baseline or a deny rule matched and no policy exception suppressed it, otherwise ALLOW.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evaluatedAction
The result of policy evaluation: DENY when the malicious-package baseline or a deny rule matched and no policy exception suppressed it, otherwise ALLOW.
- Parameters:
evaluatedAction- The result of policy evaluation: DENY when the malicious-package baseline or a deny rule matched and no policy exception suppressed it, otherwise ALLOW.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enforcementAction
The action the caller was told to take. It differs from evaluatedAction only when enforcementMode is AUDIT.
- Parameters:
enforcementAction- The action the caller was told to take. It differs from evaluatedAction only when enforcementMode is AUDIT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enforcementAction
The action the caller was told to take. It differs from evaluatedAction only when enforcementMode is AUDIT.
- Parameters:
enforcementAction- The action the caller was told to take. It differs from evaluatedAction only when enforcementMode is AUDIT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enforcementMode
The strongest enforcement mode among matches that a policy exception didn't suppress: ENFORCE for the malicious-package baseline or an enforced rule, AUDIT for an audit-mode rule. NONE when there is no such match, including when policy exceptions suppressed every match.
- Parameters:
enforcementMode- The strongest enforcement mode among matches that a policy exception didn't suppress: ENFORCE for the malicious-package baseline or an enforced rule, AUDIT for an audit-mode rule. NONE when there is no such match, including when policy exceptions suppressed every match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enforcementMode
The strongest enforcement mode among matches that a policy exception didn't suppress: ENFORCE for the malicious-package baseline or an enforced rule, AUDIT for an audit-mode rule. NONE when there is no such match, including when policy exceptions suppressed every match.
- Parameters:
enforcementMode- The strongest enforcement mode among matches that a policy exception didn't suppress: ENFORCE for the malicious-package baseline or an enforced rule, AUDIT for an audit-mode rule. NONE when there is no such match, including when policy exceptions suppressed every match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reason
Why the decision was made.
- Parameters:
reason- Why the decision was made.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reason
Why the decision was made.
- Parameters:
reason- Why the decision was made.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-