@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListMetricStreamsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListMetricStreamsResult() |
Modifier and Type | Method and Description |
---|---|
ListMetricStreamsResult |
clone() |
boolean |
equals(Object obj) |
List<MetricStreamEntry> |
getEntries()
The array of metric stream information.
|
String |
getNextToken()
The token that marks the start of the next batch of returned results.
|
int |
hashCode() |
void |
setEntries(Collection<MetricStreamEntry> entries)
The array of metric stream information.
|
void |
setNextToken(String nextToken)
The token that marks the start of the next batch of returned results.
|
String |
toString()
Returns a string representation of this object.
|
ListMetricStreamsResult |
withEntries(Collection<MetricStreamEntry> entries)
The array of metric stream information.
|
ListMetricStreamsResult |
withEntries(MetricStreamEntry... entries)
The array of metric stream information.
|
ListMetricStreamsResult |
withNextToken(String nextToken)
The token that marks the start of the next batch of returned results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token that marks the start of the next batch of returned results. You can use this token in a subsequent operation to get the next batch of results.
nextToken
- The token that marks the start of the next batch of returned results. You can use this token in a
subsequent operation to get the next batch of results.public String getNextToken()
The token that marks the start of the next batch of returned results. You can use this token in a subsequent operation to get the next batch of results.
public ListMetricStreamsResult withNextToken(String nextToken)
The token that marks the start of the next batch of returned results. You can use this token in a subsequent operation to get the next batch of results.
nextToken
- The token that marks the start of the next batch of returned results. You can use this token in a
subsequent operation to get the next batch of results.public List<MetricStreamEntry> getEntries()
The array of metric stream information.
public void setEntries(Collection<MetricStreamEntry> entries)
The array of metric stream information.
entries
- The array of metric stream information.public ListMetricStreamsResult withEntries(MetricStreamEntry... entries)
The array of metric stream information.
NOTE: This method appends the values to the existing list (if any). Use
setEntries(java.util.Collection)
or withEntries(java.util.Collection)
if you want to override
the existing values.
entries
- The array of metric stream information.public ListMetricStreamsResult withEntries(Collection<MetricStreamEntry> entries)
The array of metric stream information.
entries
- The array of metric stream information.public String toString()
toString
in class Object
Object.toString()
public ListMetricStreamsResult clone()
Copyright © 2023. All rights reserved.