Interface ListMetricStreamsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchResponse.Builder,CopyableBuilder<ListMetricStreamsResponse.Builder,ListMetricStreamsResponse>,SdkBuilder<ListMetricStreamsResponse.Builder,ListMetricStreamsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListMetricStreamsResponse
@Mutable @NotThreadSafe public static interface ListMetricStreamsResponse.Builder extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<ListMetricStreamsResponse.Builder,ListMetricStreamsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListMetricStreamsResponse.Builderentries(Collection<MetricStreamEntry> entries)The array of metric stream information.ListMetricStreamsResponse.Builderentries(Consumer<MetricStreamEntry.Builder>... entries)The array of metric stream information.ListMetricStreamsResponse.Builderentries(MetricStreamEntry... entries)The array of metric stream information.ListMetricStreamsResponse.BuildernextToken(String nextToken)The token that marks the start of the next batch of returned results.-
Methods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListMetricStreamsResponse.Builder nextToken(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
ListMetricStreamsResponse.Builder entries(Collection<MetricStreamEntry> entries)
The array of metric stream information.
- Parameters:
entries- The array of metric stream information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
ListMetricStreamsResponse.Builder entries(MetricStreamEntry... entries)
The array of metric stream information.
- Parameters:
entries- The array of metric stream information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
ListMetricStreamsResponse.Builder entries(Consumer<MetricStreamEntry.Builder>... entries)
The array of metric stream information.
This is a convenience method that creates an instance of theMetricStreamEntry.Builderavoiding the need to create one manually viaMetricStreamEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#entries(List.) - Parameters:
entries- a consumer that will call methods onMetricStreamEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#entries(java.util.Collection)
-
-