@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListFindingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListFindingsResult() |
Modifier and Type | Method and Description |
---|---|
ListFindingsResult |
clone() |
boolean |
equals(Object obj) |
List<Finding> |
getFindings()
Contains details on the findings in your environment.
|
String |
getNextToken()
A token to use for paginating results that are returned in the response.
|
int |
hashCode() |
void |
setFindings(Collection<Finding> findings)
Contains details on the findings in your environment.
|
void |
setNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
String |
toString()
Returns a string representation of this object.
|
ListFindingsResult |
withFindings(Collection<Finding> findings)
Contains details on the findings in your environment.
|
ListFindingsResult |
withFindings(Finding... findings)
Contains details on the findings in your environment.
|
ListFindingsResult |
withNextToken(String nextToken)
A token to use for paginating results that are returned in the response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Finding> getFindings()
Contains details on the findings in your environment.
public void setFindings(Collection<Finding> findings)
Contains details on the findings in your environment.
findings
- Contains details on the findings in your environment.public ListFindingsResult withFindings(Finding... findings)
Contains details on the findings in your environment.
NOTE: This method appends the values to the existing list (if any). Use
setFindings(java.util.Collection)
or withFindings(java.util.Collection)
if you want to override
the existing values.
findings
- Contains details on the findings in your environment.public ListFindingsResult withFindings(Collection<Finding> findings)
Contains details on the findings in your environment.
findings
- Contains details on the findings in your environment.public void setNextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. For subsequent calls, use the NextToken
value returned from
the previous request to continue listing results after the first page.
nextToken
- A token to use for paginating results that are returned in the response. Set the value of this parameter
to null for the first request to a list action. For subsequent calls, use the NextToken
value
returned from the previous request to continue listing results after the first page.public String getNextToken()
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. For subsequent calls, use the NextToken
value returned from
the previous request to continue listing results after the first page.
NextToken
value returned from the previous request to continue listing results after the first page.public ListFindingsResult withNextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null
for the first request to a list action. For subsequent calls, use the NextToken
value returned from
the previous request to continue listing results after the first page.
nextToken
- A token to use for paginating results that are returned in the response. Set the value of this parameter
to null for the first request to a list action. For subsequent calls, use the NextToken
value
returned from the previous request to continue listing results after the first page.public String toString()
toString
in class Object
Object.toString()
public ListFindingsResult clone()