Interface CodeSnippetError.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CodeSnippetError.Builder,,CodeSnippetError> SdkBuilder<CodeSnippetError.Builder,,CodeSnippetError> SdkPojo
- Enclosing class:
CodeSnippetError
public static interface CodeSnippetError.Builder
extends SdkPojo, CopyableBuilder<CodeSnippetError.Builder,CodeSnippetError>
-
Method Summary
Modifier and TypeMethodDescriptionThe error code for the error that prevented a code snippet from being retrieved.errorCode(CodeSnippetErrorCode errorCode) The error code for the error that prevented a code snippet from being retrieved.errorMessage(String errorMessage) The error message received when Amazon Inspector failed to retrieve a code snippet.findingArn(String findingArn) The ARN of the finding that a code snippet couldn't be retrieved for.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, sdkFields
-
Method Details
-
errorCode
The error code for the error that prevented a code snippet from being retrieved.
- Parameters:
errorCode- The error code for the error that prevented a code snippet from being retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
The error code for the error that prevented a code snippet from being retrieved.
- Parameters:
errorCode- The error code for the error that prevented a code snippet from being retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorMessage
The error message received when Amazon Inspector failed to retrieve a code snippet.
- Parameters:
errorMessage- The error message received when Amazon Inspector failed to retrieve a code snippet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingArn
The ARN of the finding that a code snippet couldn't be retrieved for.
- Parameters:
findingArn- The ARN of the finding that a code snippet couldn't be retrieved for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-