Interface IssueArtifactBody.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IssueArtifactBody.Builder,,IssueArtifactBody> SdkBuilder<IssueArtifactBody.Builder,,IssueArtifactBody> SdkPojo
- Enclosing class:
IssueArtifactBody
-
Method Summary
Modifier and TypeMethodDescriptiondefault IssueArtifactBody.Builderpatch(Consumer<PatchBody.Builder> patch) Projected PATCH content: the remediation patch for one repository, with the descriptors needed to verify and apply it and the state of its delivery to the customer's own bucket or repository.Projected PATCH content: the remediation patch for one repository, with the descriptors needed to verify and apply it and the state of its delivery to the customer's own bucket or repository.default IssueArtifactBody.BuilderprevalidationSignals(Consumer<PrevalidationSignalsBody.Builder> prevalidationSignals) Projected EVIDENCE content whose stored envelope declaresartifact_kind: prevalidation_signals— the severity signals prioritization uses.prevalidationSignals(PrevalidationSignalsBody prevalidationSignals) Projected EVIDENCE content whose stored envelope declaresartifact_kind: prevalidation_signals— the severity signals prioritization uses.The producer's content verbatim, for an artifactType with no defined shape or content that failed to parse against its shape.default IssueArtifactBody.BuilderremediationProposal(Consumer<RemediationProposalBody.Builder> remediationProposal) Projected REMEDIATION_PROPOSAL content: a patch the remediation agent produced, with the descriptors needed to apply and verify it.remediationProposal(RemediationProposalBody remediationProposal) Projected REMEDIATION_PROPOSAL content: a patch the remediation agent produced, with the descriptors needed to apply and verify it.default IssueArtifactBody.BuildervalidationEvidence(Consumer<ValidationEvidenceBody.Builder> validationEvidence) Projected VALIDATION_EVIDENCE content.validationEvidence(ValidationEvidenceBody validationEvidence) Projected VALIDATION_EVIDENCE content.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
-
validationEvidence
Projected VALIDATION_EVIDENCE content.
- Parameters:
validationEvidence- Projected VALIDATION_EVIDENCE content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationEvidence
default IssueArtifactBody.Builder validationEvidence(Consumer<ValidationEvidenceBody.Builder> validationEvidence) Projected VALIDATION_EVIDENCE content.
This is a convenience method that creates an instance of theValidationEvidenceBody.Builderavoiding the need to create one manually viaValidationEvidenceBody.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalidationEvidence(ValidationEvidenceBody).- Parameters:
validationEvidence- a consumer that will call methods onValidationEvidenceBody.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
prevalidationSignals
Projected EVIDENCE content whose stored envelope declares
artifact_kind: prevalidation_signals— the severity signals prioritization uses.One artifactType can select different members here: EVIDENCE also carries the prioritization markdown narrative, which is not JSON and so returns through
raw. The member is therefore chosen by artifactType AND, for a type that carries more than one payload kind, the content's own discriminator.- Parameters:
prevalidationSignals- Projected EVIDENCE content whose stored envelope declaresartifact_kind: prevalidation_signals— the severity signals prioritization uses.One artifactType can select different members here: EVIDENCE also carries the prioritization markdown narrative, which is not JSON and so returns through
raw. The member is therefore chosen by artifactType AND, for a type that carries more than one payload kind, the content's own discriminator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prevalidationSignals
default IssueArtifactBody.Builder prevalidationSignals(Consumer<PrevalidationSignalsBody.Builder> prevalidationSignals) Projected EVIDENCE content whose stored envelope declares
artifact_kind: prevalidation_signals— the severity signals prioritization uses.One artifactType can select different members here: EVIDENCE also carries the prioritization markdown narrative, which is not JSON and so returns through
This is a convenience method that creates an instance of theraw. The member is therefore chosen by artifactType AND, for a type that carries more than one payload kind, the content's own discriminator.PrevalidationSignalsBody.Builderavoiding the need to create one manually viaPrevalidationSignalsBody.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprevalidationSignals(PrevalidationSignalsBody).- Parameters:
prevalidationSignals- a consumer that will call methods onPrevalidationSignalsBody.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
remediationProposal
Projected REMEDIATION_PROPOSAL content: a patch the remediation agent produced, with the descriptors needed to apply and verify it.
REMEDIATION_PROPOSAL content that does not match this shape is returned through
raw.- Parameters:
remediationProposal- Projected REMEDIATION_PROPOSAL content: a patch the remediation agent produced, with the descriptors needed to apply and verify it.REMEDIATION_PROPOSAL content that does not match this shape is returned through
raw.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remediationProposal
default IssueArtifactBody.Builder remediationProposal(Consumer<RemediationProposalBody.Builder> remediationProposal) Projected REMEDIATION_PROPOSAL content: a patch the remediation agent produced, with the descriptors needed to apply and verify it.
REMEDIATION_PROPOSAL content that does not match this shape is returned through
This is a convenience method that creates an instance of theraw.RemediationProposalBody.Builderavoiding the need to create one manually viaRemediationProposalBody.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toremediationProposal(RemediationProposalBody).- Parameters:
remediationProposal- a consumer that will call methods onRemediationProposalBody.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
patch
Projected PATCH content: the remediation patch for one repository, with the descriptors needed to verify and apply it and the state of its delivery to the customer's own bucket or repository.
Every PATCH projects here. The descriptors come from members Control Plane computes or owns when it stores the patch, not from producer metadata, so this member is the whole PATCH contract and
metadatais omitted for it.- Parameters:
patch- Projected PATCH content: the remediation patch for one repository, with the descriptors needed to verify and apply it and the state of its delivery to the customer's own bucket or repository.Every PATCH projects here. The descriptors come from members Control Plane computes or owns when it stores the patch, not from producer metadata, so this member is the whole PATCH contract and
metadatais omitted for it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patch
Projected PATCH content: the remediation patch for one repository, with the descriptors needed to verify and apply it and the state of its delivery to the customer's own bucket or repository.
Every PATCH projects here. The descriptors come from members Control Plane computes or owns when it stores the patch, not from producer metadata, so this member is the whole PATCH contract and
This is a convenience method that creates an instance of themetadatais omitted for it.PatchBody.Builderavoiding the need to create one manually viaPatchBody.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topatch(PatchBody).- Parameters:
patch- a consumer that will call methods onPatchBody.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
raw
The producer's content verbatim, for an artifactType with no defined shape or content that failed to parse against its shape.
- Parameters:
raw- The producer's content verbatim, for an artifactType with no defined shape or content that failed to parse against its shape.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-