Interface GetCodeIssueResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContinuumResponse.Builder,CopyableBuilder<GetCodeIssueResponse.Builder,,GetCodeIssueResponse> SdkBuilder<GetCodeIssueResponse.Builder,,GetCodeIssueResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetCodeIssueResponse
-
Method Summary
Modifier and TypeMethodDescriptionconfidence(Integer confidence) The likelihood that this issue is a true positive, expressed as a percentage (0-100).The timestamp when the issue was created.evidenceAvailability(String evidenceAvailability) Whether the issue has any attached evidence (formerly 'artifacts': tool output, remediation proposals, patches).evidenceAvailability(IssueEvidenceAvailability evidenceAvailability) Whether the issue has any attached evidence (formerly 'artifacts': tool output, remediation proposals, patches).findingIds(String... findingIds) The findings that motivated this issue.findingIds(Collection<String> findingIds) The findings that motivated this issue.The ARN of the issue.The unique identifier of the issue.The name of the issue.default GetCodeIssueResponse.BuilderpatchDelivery(Consumer<IssuePatchDelivery.Builder> patchDelivery) Customer delivery of the issue's patches, summarized from its PATCH artifacts at read time.patchDelivery(IssuePatchDelivery patchDelivery) Customer delivery of the issue's patches, summarized from its PATCH artifacts at read time.The part of the workflow the issue is in.phase(IssuePhase phase) The part of the workflow the issue is in.Current severity: the FindingSeverity seed at create, overwritten by the authoritative severity that prioritization assigns after validation.severity(IssueSeverity severity) Current severity: the FindingSeverity seed at create, overwritten by the authoritative severity that prioritization assigns after validation.severityReasoning(String severityReasoning) The justification for the current severity.The current lifecycle status of the issue.status(IssueStatus status) The current lifecycle status of the issue.statusMessage(String statusMessage) Customer-facing explanation of statusReason.statusReason(String statusReason) Why the issue failed.statusReason(IssueStatusReason statusReason) Why the issue failed.statusUpdatedAt(Instant statusUpdatedAt) The timestamp when the status or phase last changed.The remediation completion summary, when the green stage has run.A free-form synopsis of the issue.The timestamp when any field of the issue last changed.Methods inherited from interface software.amazon.awssdk.services.continuum.model.ContinuumResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
issueId
The unique identifier of the issue.
- Parameters:
issueId- The unique identifier of the issue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issueArn
The ARN of the issue.
- Parameters:
issueArn- The ARN of the issue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the issue.
- Parameters:
name- The name of the issue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
synopsis
A free-form synopsis of the issue.
- Parameters:
synopsis- A free-form synopsis of the issue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
Current severity: the FindingSeverity seed at create, overwritten by the authoritative severity that prioritization assigns after validation.
- Parameters:
severity- Current severity: the FindingSeverity seed at create, overwritten by the authoritative severity that prioritization assigns after validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
severity
Current severity: the FindingSeverity seed at create, overwritten by the authoritative severity that prioritization assigns after validation.
- Parameters:
severity- Current severity: the FindingSeverity seed at create, overwritten by the authoritative severity that prioritization assigns after validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
confidence
The likelihood that this issue is a true positive, expressed as a percentage (0-100).
- Parameters:
confidence- The likelihood that this issue is a true positive, expressed as a percentage (0-100).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severityReasoning
The justification for the current severity. Always leads with a customer-facing basis clause synthesized from how the severity was determined (e.g. "Severity from finding.", "Severity from Continuum system."); when prioritization has run, its own reasoning follows. Issues created before the basis clause was introduced return their original reasoning without it.
- Parameters:
severityReasoning- The justification for the current severity. Always leads with a customer-facing basis clause synthesized from how the severity was determined (e.g. "Severity from finding.", "Severity from Continuum system."); when prioritization has run, its own reasoning follows. Issues created before the basis clause was introduced return their original reasoning without it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summary
The remediation completion summary, when the green stage has run.
- Parameters:
summary- The remediation completion summary, when the green stage has run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingIds
The findings that motivated this issue. Bare identifiers only -- a caller authorized for GetCodeIssue is not necessarily authorized to read finding detail; call GetCodeFinding for that. Every referenced finding is included regardless of origin (both CustomerUploaded and ContinuumScanner).
- Parameters:
findingIds- The findings that motivated this issue. Bare identifiers only -- a caller authorized for GetCodeIssue is not necessarily authorized to read finding detail; call GetCodeFinding for that. Every referenced finding is included regardless of origin (both CustomerUploaded and ContinuumScanner).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingIds
The findings that motivated this issue. Bare identifiers only -- a caller authorized for GetCodeIssue is not necessarily authorized to read finding detail; call GetCodeFinding for that. Every referenced finding is included regardless of origin (both CustomerUploaded and ContinuumScanner).
- Parameters:
findingIds- The findings that motivated this issue. Bare identifiers only -- a caller authorized for GetCodeIssue is not necessarily authorized to read finding detail; call GetCodeFinding for that. Every referenced finding is included regardless of origin (both CustomerUploaded and ContinuumScanner).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current lifecycle status of the issue.
- Parameters:
status- The current lifecycle status of the issue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current lifecycle status of the issue.
- Parameters:
status- The current lifecycle status of the issue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
phase
The part of the workflow the issue is in. Present when status is IN_PROGRESS, and when status is FAILED and the failing phase is known.
- Parameters:
phase- The part of the workflow the issue is in. Present when status is IN_PROGRESS, and when status is FAILED and the failing phase is known.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
phase
The part of the workflow the issue is in. Present when status is IN_PROGRESS, and when status is FAILED and the failing phase is known.
- Parameters:
phase- The part of the workflow the issue is in. Present when status is IN_PROGRESS, and when status is FAILED and the failing phase is known.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
Why the issue failed. Present only when status is FAILED.
- Parameters:
statusReason- Why the issue failed. Present only when status is FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
Why the issue failed. Present only when status is FAILED.
- Parameters:
statusReason- Why the issue failed. Present only when status is FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
Customer-facing explanation of statusReason. Present only when status is FAILED.
- Parameters:
statusMessage- Customer-facing explanation of statusReason. Present only when status is FAILED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusUpdatedAt
The timestamp when the status or phase last changed.
- Parameters:
statusUpdatedAt- The timestamp when the status or phase last changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the issue was created.
- Parameters:
createdAt- The timestamp when the issue was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when any field of the issue last changed. Advances on every mutation (including score-only updates that do not transition status), so it is greater than or equal to statusUpdatedAt.
- Parameters:
updatedAt- The timestamp when any field of the issue last changed. Advances on every mutation (including score-only updates that do not transition status), so it is greater than or equal to statusUpdatedAt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evidenceAvailability
Whether the issue has any attached evidence (formerly 'artifacts': tool output, remediation proposals, patches). NONE = no evidence; AVAILABLE = at least one evidence item exists. Computed at read time.
- Parameters:
evidenceAvailability- Whether the issue has any attached evidence (formerly 'artifacts': tool output, remediation proposals, patches). NONE = no evidence; AVAILABLE = at least one evidence item exists. Computed at read time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evidenceAvailability
Whether the issue has any attached evidence (formerly 'artifacts': tool output, remediation proposals, patches). NONE = no evidence; AVAILABLE = at least one evidence item exists. Computed at read time.
- Parameters:
evidenceAvailability- Whether the issue has any attached evidence (formerly 'artifacts': tool output, remediation proposals, patches). NONE = no evidence; AVAILABLE = at least one evidence item exists. Computed at read time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
patchDelivery
Customer delivery of the issue's patches, summarized from its PATCH artifacts at read time. Absent when no patch has a destination delivery.
- Parameters:
patchDelivery- Customer delivery of the issue's patches, summarized from its PATCH artifacts at read time. Absent when no patch has a destination delivery.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patchDelivery
default GetCodeIssueResponse.Builder patchDelivery(Consumer<IssuePatchDelivery.Builder> patchDelivery) Customer delivery of the issue's patches, summarized from its PATCH artifacts at read time. Absent when no patch has a destination delivery.
This is a convenience method that creates an instance of theIssuePatchDelivery.Builderavoiding the need to create one manually viaIssuePatchDelivery.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topatchDelivery(IssuePatchDelivery).- Parameters:
patchDelivery- a consumer that will call methods onIssuePatchDelivery.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-