@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetCodeSnippetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
BatchGetCodeSnippetResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
BatchGetCodeSnippetResult | 
clone()  | 
boolean | 
equals(Object obj)  | 
List<CodeSnippetResult> | 
getCodeSnippetResults()
 The retrieved code snippets associated with the provided finding ARNs. 
 | 
List<CodeSnippetError> | 
getErrors()
 Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets. 
 | 
int | 
hashCode()  | 
void | 
setCodeSnippetResults(Collection<CodeSnippetResult> codeSnippetResults)
 The retrieved code snippets associated with the provided finding ARNs. 
 | 
void | 
setErrors(Collection<CodeSnippetError> errors)
 Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
BatchGetCodeSnippetResult | 
withCodeSnippetResults(CodeSnippetResult... codeSnippetResults)
 The retrieved code snippets associated with the provided finding ARNs. 
 | 
BatchGetCodeSnippetResult | 
withCodeSnippetResults(Collection<CodeSnippetResult> codeSnippetResults)
 The retrieved code snippets associated with the provided finding ARNs. 
 | 
BatchGetCodeSnippetResult | 
withErrors(CodeSnippetError... errors)
 Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets. 
 | 
BatchGetCodeSnippetResult | 
withErrors(Collection<CodeSnippetError> errors)
 Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets. 
 | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<CodeSnippetResult> getCodeSnippetResults()
The retrieved code snippets associated with the provided finding ARNs.
public void setCodeSnippetResults(Collection<CodeSnippetResult> codeSnippetResults)
The retrieved code snippets associated with the provided finding ARNs.
codeSnippetResults - The retrieved code snippets associated with the provided finding ARNs.public BatchGetCodeSnippetResult withCodeSnippetResults(CodeSnippetResult... codeSnippetResults)
The retrieved code snippets associated with the provided finding ARNs.
 NOTE: This method appends the values to the existing list (if any). Use
 setCodeSnippetResults(java.util.Collection) or withCodeSnippetResults(java.util.Collection) if
 you want to override the existing values.
 
codeSnippetResults - The retrieved code snippets associated with the provided finding ARNs.public BatchGetCodeSnippetResult withCodeSnippetResults(Collection<CodeSnippetResult> codeSnippetResults)
The retrieved code snippets associated with the provided finding ARNs.
codeSnippetResults - The retrieved code snippets associated with the provided finding ARNs.public List<CodeSnippetError> getErrors()
Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets.
public void setErrors(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.public BatchGetCodeSnippetResult withErrors(CodeSnippetError... errors)
Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets.
 NOTE: This method appends the values to the existing list (if any). Use
 setErrors(java.util.Collection) or withErrors(java.util.Collection) if you want to override the
 existing values.
 
errors - Any errors Amazon Inspector encountered while trying to retrieve the requested code snippets.public BatchGetCodeSnippetResult withErrors(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.public String toString()
toString in class ObjectObject.toString()public BatchGetCodeSnippetResult clone()