public static interface BatchGetCodeSnippetResponse.Builder extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<BatchGetCodeSnippetResponse.Builder,BatchGetCodeSnippetResponse>
| Modifier and Type | Method and Description |
|---|---|
BatchGetCodeSnippetResponse.Builder |
codeSnippetResults(CodeSnippetResult... codeSnippetResults)
The retrieved code snippets associated with the provided finding ARNs.
|
BatchGetCodeSnippetResponse.Builder |
codeSnippetResults(Collection<CodeSnippetResult> codeSnippetResults)
The retrieved code snippets associated with the provided finding ARNs.
|
BatchGetCodeSnippetResponse.Builder |
codeSnippetResults(Consumer<CodeSnippetResult.Builder>... codeSnippetResults)
The retrieved code snippets associated with the provided finding ARNs.
|
BatchGetCodeSnippetResponse.Builder |
errors(CodeSnippetError... errors)
Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets.
|
BatchGetCodeSnippetResponse.Builder |
errors(Collection<CodeSnippetError> errors)
Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets.
|
BatchGetCodeSnippetResponse.Builder |
errors(Consumer<CodeSnippetError.Builder>... errors)
Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchGetCodeSnippetResponse.Builder codeSnippetResults(Collection<CodeSnippetResult> codeSnippetResults)
The retrieved code snippets associated with the provided finding ARNs.
codeSnippetResults - The retrieved code snippets associated with the provided finding ARNs.BatchGetCodeSnippetResponse.Builder codeSnippetResults(CodeSnippetResult... codeSnippetResults)
The retrieved code snippets associated with the provided finding ARNs.
codeSnippetResults - The retrieved code snippets associated with the provided finding ARNs.BatchGetCodeSnippetResponse.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.Builder avoiding the need to
create one manually via CodeSnippetResult.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #codeSnippetResults(List.
codeSnippetResults - a consumer that will call methods on
CodeSnippetResult.Builder#codeSnippetResults(java.util.Collection) BatchGetCodeSnippetResponse.Builder errors(Collection<CodeSnippetError> errors)
Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets.
errors - Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets.BatchGetCodeSnippetResponse.Builder errors(CodeSnippetError... errors)
Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets.
errors - Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets.BatchGetCodeSnippetResponse.Builder errors(Consumer<CodeSnippetError.Builder>... errors)
Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets.
This is a convenience method that creates an instance of theCodeSnippetError.Builder avoiding the need to create
one manually via CodeSnippetError.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #errors(List.
errors - a consumer that will call methods on
CodeSnippetError.Builder#errors(java.util.Collection) Copyright © 2023. All rights reserved.