Interface GetEvidenceResponse.Builder
- All Superinterfaces:
AssuranceResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetEvidenceResponse.Builder,,GetEvidenceResponse> SdkBuilder<GetEvidenceResponse.Builder,,GetEvidenceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetEvidenceResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe checksum of the evidence content.The timestamp when the evidence was created.description(String description) The optional description of the evidence.evidenceId(String evidenceId) The unique identifier of the evidence item.lastAutoAnalysisStartedAt(Instant lastAutoAnalysisStartedAt) The time when the most recent automatic linking analysis of this evidence version started.linkedControls(Collection<ControlReferenceDetail> linkedControls) The controls this evidence is linked to.linkedControls(Consumer<ControlReferenceDetail.Builder>... linkedControls) The controls this evidence is linked to.linkedControls(ControlReferenceDetail... linkedControls) The controls this evidence is linked to.The auto-linking mode in effect for the evidence.The auto-linking mode in effect for the evidence.What the evidence is for.purpose(EvidencePurpose purpose) What the evidence is for.The external reference URI if this is reference-based evidence.The lifecycle status of the evidence.status(EvidenceStatus status) The lifecycle status of the evidence.The human-readable title of the evidence.The timestamp when the evidence was last updated.uploadedBy(String uploadedBy) The principal that supplied this evidence.The version number of the evidence.Methods inherited from interface software.amazon.awssdk.services.assurance.model.AssuranceResponse.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
-
evidenceId
The unique identifier of the evidence item.
- Parameters:
evidenceId- The unique identifier of the evidence item.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The version number of the evidence.
- Parameters:
version- The version number of the evidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The human-readable title of the evidence.
- Parameters:
title- The human-readable title of the evidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The optional description of the evidence.
- Parameters:
description- The optional description of the evidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the evidence was created.
- Parameters:
createdAt- The timestamp when the evidence was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the evidence was last updated.
- Parameters:
updatedAt- The timestamp when the evidence was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The lifecycle status of the evidence.
- Parameters:
status- The lifecycle status of the evidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The lifecycle status of the evidence.
- Parameters:
status- The lifecycle status of the evidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
checksum
The checksum of the evidence content. Uploaded and Amazon S3 evidence use SHA-256. GitHub evidence uses SHA-1, because GitHub reports content hashes only in SHA-1.
- Parameters:
checksum- The checksum of the evidence content. Uploaded and Amazon S3 evidence use SHA-256. GitHub evidence uses SHA-1, because GitHub reports content hashes only in SHA-1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reference
The external reference URI if this is reference-based evidence.
- Parameters:
reference- The external reference URI if this is reference-based evidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkedControls
The controls this evidence is linked to.
- Parameters:
linkedControls- The controls this evidence is linked to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkedControls
The controls this evidence is linked to.
- Parameters:
linkedControls- The controls this evidence is linked to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkedControls
GetEvidenceResponse.Builder linkedControls(Consumer<ControlReferenceDetail.Builder>... linkedControls) The controls this evidence is linked to.
This is a convenience method that creates an instance of theControlReferenceDetail.Builderavoiding the need to create one manually viaControlReferenceDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolinkedControls(List<ControlReferenceDetail>).- Parameters:
linkedControls- a consumer that will call methods onControlReferenceDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
uploadedBy
The principal that supplied this evidence.
- Parameters:
uploadedBy- The principal that supplied this evidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkMode
The auto-linking mode in effect for the evidence. AWS Assurance sets it when you add the evidence, or sets it to
AUTOwhen you start a new analysis withUpdateEvidence.- Parameters:
linkMode- The auto-linking mode in effect for the evidence. AWS Assurance sets it when you add the evidence, or sets it toAUTOwhen you start a new analysis withUpdateEvidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
linkMode
The auto-linking mode in effect for the evidence. AWS Assurance sets it when you add the evidence, or sets it to
AUTOwhen you start a new analysis withUpdateEvidence.- Parameters:
linkMode- The auto-linking mode in effect for the evidence. AWS Assurance sets it when you add the evidence, or sets it toAUTOwhen you start a new analysis withUpdateEvidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
purpose
What the evidence is for. AWS Assurance sets the purpose when you add the evidence.
- Parameters:
purpose- What the evidence is for. AWS Assurance sets the purpose when you add the evidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
purpose
What the evidence is for. AWS Assurance sets the purpose when you add the evidence.
- Parameters:
purpose- What the evidence is for. AWS Assurance sets the purpose when you add the evidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastAutoAnalysisStartedAt
The time when the most recent automatic linking analysis of this evidence version started. For the result, see
status. This field is absent if no analysis of this version has started.- Parameters:
lastAutoAnalysisStartedAt- The time when the most recent automatic linking analysis of this evidence version started. For the result, seestatus. This field is absent if no analysis of this version has started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-