@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListFindingsMetricsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListFindingsMetricsResult() |
Modifier and Type | Method and Description |
---|---|
ListFindingsMetricsResult |
clone() |
boolean |
equals(Object obj) |
List<AccountFindingsMetric> |
getFindingsMetrics()
A list of
AccountFindingsMetric objects retrieved from the specified time interval. |
String |
getNextToken()
A pagination token.
|
int |
hashCode() |
void |
setFindingsMetrics(Collection<AccountFindingsMetric> findingsMetrics)
A list of
AccountFindingsMetric objects retrieved from the specified time interval. |
void |
setNextToken(String nextToken)
A pagination token.
|
String |
toString()
Returns a string representation of this object.
|
ListFindingsMetricsResult |
withFindingsMetrics(AccountFindingsMetric... findingsMetrics)
A list of
AccountFindingsMetric objects retrieved from the specified time interval. |
ListFindingsMetricsResult |
withFindingsMetrics(Collection<AccountFindingsMetric> findingsMetrics)
A list of
AccountFindingsMetric objects retrieved from the specified time interval. |
ListFindingsMetricsResult |
withNextToken(String nextToken)
A pagination token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AccountFindingsMetric> getFindingsMetrics()
A list of AccountFindingsMetric
objects retrieved from the specified time interval.
AccountFindingsMetric
objects retrieved from the specified time interval.public void setFindingsMetrics(Collection<AccountFindingsMetric> findingsMetrics)
A list of AccountFindingsMetric
objects retrieved from the specified time interval.
findingsMetrics
- A list of AccountFindingsMetric
objects retrieved from the specified time interval.public ListFindingsMetricsResult withFindingsMetrics(AccountFindingsMetric... findingsMetrics)
A list of AccountFindingsMetric
objects retrieved from the specified time interval.
NOTE: This method appends the values to the existing list (if any). Use
setFindingsMetrics(java.util.Collection)
or withFindingsMetrics(java.util.Collection)
if you
want to override the existing values.
findingsMetrics
- A list of AccountFindingsMetric
objects retrieved from the specified time interval.public ListFindingsMetricsResult withFindingsMetrics(Collection<AccountFindingsMetric> findingsMetrics)
A list of AccountFindingsMetric
objects retrieved from the specified time interval.
findingsMetrics
- A list of AccountFindingsMetric
objects retrieved from the specified time interval.public void setNextToken(String nextToken)
A pagination token. You can use this in future calls to ListFindingMetrics
to continue listing
results after the current page.
nextToken
- A pagination token. You can use this in future calls to ListFindingMetrics
to continue
listing results after the current page.public String getNextToken()
A pagination token. You can use this in future calls to ListFindingMetrics
to continue listing
results after the current page.
ListFindingMetrics
to continue
listing results after the current page.public ListFindingsMetricsResult withNextToken(String nextToken)
A pagination token. You can use this in future calls to ListFindingMetrics
to continue listing
results after the current page.
nextToken
- A pagination token. You can use this in future calls to ListFindingMetrics
to continue
listing results after the current page.public String toString()
toString
in class Object
Object.toString()
public ListFindingsMetricsResult clone()