@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<String> |
getFindingIds()
An array of strings, where each string is the unique identifier for a finding that meets the filter criteria
specified in the request.
|
String |
getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response.
|
int |
hashCode() |
void |
setFindingIds(Collection<String> findingIds)
An array of strings, where each string is the unique identifier for a finding that meets the filter criteria
specified in the request.
|
void |
setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
String |
toString()
Returns a string representation of this object.
|
ListFindingsResult |
withFindingIds(Collection<String> findingIds)
An array of strings, where each string is the unique identifier for a finding that meets the filter criteria
specified in the request.
|
ListFindingsResult |
withFindingIds(String... findingIds)
An array of strings, where each string is the unique identifier for a finding that meets the filter criteria
specified in the request.
|
ListFindingsResult |
withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getFindingIds()
An array of strings, where each string is the unique identifier for a finding that meets the filter criteria specified in the request.
public void setFindingIds(Collection<String> findingIds)
An array of strings, where each string is the unique identifier for a finding that meets the filter criteria specified in the request.
findingIds
- An array of strings, where each string is the unique identifier for a finding that meets the filter
criteria specified in the request.public ListFindingsResult withFindingIds(String... findingIds)
An array of strings, where each string is the unique identifier for a finding that meets the filter criteria specified in the request.
NOTE: This method appends the values to the existing list (if any). Use
setFindingIds(java.util.Collection)
or withFindingIds(java.util.Collection)
if you want to
override the existing values.
findingIds
- An array of strings, where each string is the unique identifier for a finding that meets the filter
criteria specified in the request.public ListFindingsResult withFindingIds(Collection<String> findingIds)
An array of strings, where each string is the unique identifier for a finding that meets the filter criteria specified in the request.
findingIds
- An array of strings, where each string is the unique identifier for a finding that meets the filter
criteria specified in the request.public void setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
public ListFindingsResult withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String toString()
toString
in class Object
Object.toString()
public ListFindingsResult clone()