Interface BatchGetCodeSnippetResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<BatchGetCodeSnippetResponse.Builder,,- BatchGetCodeSnippetResponse> - Inspector2Response.Builder,- SdkBuilder<BatchGetCodeSnippetResponse.Builder,,- BatchGetCodeSnippetResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- BatchGetCodeSnippetResponse
- 
Method SummaryModifier and TypeMethodDescriptioncodeSnippetResults(Collection<CodeSnippetResult> codeSnippetResults) The retrieved code snippets associated with the provided finding ARNs.codeSnippetResults(Consumer<CodeSnippetResult.Builder>... codeSnippetResults) The retrieved code snippets associated with the provided finding ARNs.codeSnippetResults(CodeSnippetResult... codeSnippetResults) The retrieved code snippets associated with the provided finding ARNs.errors(Collection<CodeSnippetError> errors) Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets.errors(Consumer<CodeSnippetError.Builder>... errors) Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets.errors(CodeSnippetError... errors) Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
codeSnippetResultsBatchGetCodeSnippetResponse.Builder codeSnippetResults(Collection<CodeSnippetResult> codeSnippetResults) The retrieved code snippets associated with the provided finding ARNs. - Parameters:
- codeSnippetResults- The retrieved code snippets associated with the provided finding ARNs.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
codeSnippetResultsThe retrieved code snippets associated with the provided finding ARNs. - Parameters:
- codeSnippetResults- The retrieved code snippets associated with the provided finding ARNs.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
codeSnippetResultsBatchGetCodeSnippetResponse.Builder codeSnippetResults(Consumer<CodeSnippetResult.Builder>... codeSnippetResults) The retrieved code snippets associated with the provided finding ARNs. This is a convenience method that creates an instance of theCodeSnippetResult.Builderavoiding the need to create one manually viaCodeSnippetResult.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeSnippetResults(List<CodeSnippetResult>).- Parameters:
- codeSnippetResults- a consumer that will call methods on- CodeSnippetResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
errorsAny errors Amazon Inspector encountered while trying to retrieve the requested code snippets. - Parameters:
- errors- Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
errorsAny errors Amazon Inspector encountered while trying to retrieve the requested code snippets. - Parameters:
- errors- Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
errorsAny errors Amazon Inspector encountered while trying to retrieve the requested code snippets. This is a convenience method that creates an instance of theCodeSnippetError.Builderavoiding the need to create one manually viaCodeSnippetError.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<CodeSnippetError>).- Parameters:
- errors- a consumer that will call methods on- CodeSnippetError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-