Interface GetEvidenceContentResponse.Builder
- All Superinterfaces:
AssuranceResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetEvidenceContentResponse.Builder,,GetEvidenceContentResponse> SdkBuilder<GetEvidenceContentResponse.Builder,,GetEvidenceContentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetEvidenceContentResponse
@Mutable
@NotThreadSafe
public static interface GetEvidenceContentResponse.Builder
extends AssuranceResponse.Builder, SdkPojo, CopyableBuilder<GetEvidenceContentResponse.Builder,GetEvidenceContentResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe checksum of the evidence content.The evidence file content.contentType(String contentType) The MIME type of the content.The title of the evidence.The version number of the evidence that the content belongs to.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
-
content
The evidence file content.
- Parameters:
content- The evidence file content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
The MIME type of the content.
- Parameters:
contentType- The MIME type of the content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The title of the evidence.
- Parameters:
title- The title of the evidence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
version
The version number of the evidence that the content belongs to.
- Parameters:
version- The version number of the evidence that the content belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-