public static interface GetMetricStreamResponse.Builder extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<GetMetricStreamResponse.Builder,GetMetricStreamResponse>
Modifier and Type | Method and Description |
---|---|
GetMetricStreamResponse.Builder |
arn(String arn)
The ARN of the metric stream.
|
GetMetricStreamResponse.Builder |
creationDate(Instant creationDate)
The date that the metric stream was created.
|
GetMetricStreamResponse.Builder |
excludeFilters(Collection<MetricStreamFilter> excludeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are
not streamed by this metric stream.
|
GetMetricStreamResponse.Builder |
excludeFilters(Consumer<MetricStreamFilter.Builder>... excludeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are
not streamed by this metric stream.
|
GetMetricStreamResponse.Builder |
excludeFilters(MetricStreamFilter... excludeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are
not streamed by this metric stream.
|
GetMetricStreamResponse.Builder |
firehoseArn(String firehoseArn)
The ARN of the Amazon Kinesis Firehose delivery stream that is used by this metric stream.
|
GetMetricStreamResponse.Builder |
includeFilters(Collection<MetricStreamFilter> includeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are
streamed by this metric stream.
|
GetMetricStreamResponse.Builder |
includeFilters(Consumer<MetricStreamFilter.Builder>... includeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are
streamed by this metric stream.
|
GetMetricStreamResponse.Builder |
includeFilters(MetricStreamFilter... includeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are
streamed by this metric stream.
|
GetMetricStreamResponse.Builder |
lastUpdateDate(Instant lastUpdateDate)
The date of the most recent update to the metric stream's configuration.
|
GetMetricStreamResponse.Builder |
name(String name)
The name of the metric stream.
|
GetMetricStreamResponse.Builder |
outputFormat(MetricStreamOutputFormat outputFormat)
|
GetMetricStreamResponse.Builder |
outputFormat(String outputFormat)
|
GetMetricStreamResponse.Builder |
roleArn(String roleArn)
The ARN of the IAM role that is used by this metric stream.
|
GetMetricStreamResponse.Builder |
state(String state)
The state of the metric stream.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetMetricStreamResponse.Builder arn(String arn)
The ARN of the metric stream.
arn
- The ARN of the metric stream.GetMetricStreamResponse.Builder name(String name)
The name of the metric stream.
name
- The name of the metric stream.GetMetricStreamResponse.Builder includeFilters(Collection<MetricStreamFilter> includeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are streamed by this metric stream.
includeFilters
- If this array of metric namespaces is present, then these namespaces are the only metric namespaces
that are streamed by this metric stream.GetMetricStreamResponse.Builder includeFilters(MetricStreamFilter... includeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are streamed by this metric stream.
includeFilters
- If this array of metric namespaces is present, then these namespaces are the only metric namespaces
that are streamed by this metric stream.GetMetricStreamResponse.Builder includeFilters(Consumer<MetricStreamFilter.Builder>... includeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are streamed by this metric stream.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #includeFilters(List)
.includeFilters
- a consumer that will call methods on List.Builder
#includeFilters(List)
GetMetricStreamResponse.Builder excludeFilters(Collection<MetricStreamFilter> excludeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are not streamed by this metric stream. In this case, all other metric namespaces in the account are streamed by this metric stream.
excludeFilters
- If this array of metric namespaces is present, then these namespaces are the only metric namespaces
that are not streamed by this metric stream. In this case, all other metric namespaces in the account
are streamed by this metric stream.GetMetricStreamResponse.Builder excludeFilters(MetricStreamFilter... excludeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are not streamed by this metric stream. In this case, all other metric namespaces in the account are streamed by this metric stream.
excludeFilters
- If this array of metric namespaces is present, then these namespaces are the only metric namespaces
that are not streamed by this metric stream. In this case, all other metric namespaces in the account
are streamed by this metric stream.GetMetricStreamResponse.Builder excludeFilters(Consumer<MetricStreamFilter.Builder>... excludeFilters)
If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are not streamed by this metric stream. In this case, all other metric namespaces in the account are streamed by this metric stream.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #excludeFilters(List)
.excludeFilters
- a consumer that will call methods on List.Builder
#excludeFilters(List)
GetMetricStreamResponse.Builder firehoseArn(String firehoseArn)
The ARN of the Amazon Kinesis Firehose delivery stream that is used by this metric stream.
firehoseArn
- The ARN of the Amazon Kinesis Firehose delivery stream that is used by this metric stream.GetMetricStreamResponse.Builder roleArn(String roleArn)
The ARN of the IAM role that is used by this metric stream.
roleArn
- The ARN of the IAM role that is used by this metric stream.GetMetricStreamResponse.Builder state(String state)
The state of the metric stream. The possible values are running
and stopped
.
state
- The state of the metric stream. The possible values are running
and stopped
.GetMetricStreamResponse.Builder creationDate(Instant creationDate)
The date that the metric stream was created.
creationDate
- The date that the metric stream was created.GetMetricStreamResponse.Builder lastUpdateDate(Instant lastUpdateDate)
The date of the most recent update to the metric stream's configuration.
lastUpdateDate
- The date of the most recent update to the metric stream's configuration.GetMetricStreamResponse.Builder outputFormat(String outputFormat)
outputFormat
- MetricStreamOutputFormat
,
MetricStreamOutputFormat
GetMetricStreamResponse.Builder outputFormat(MetricStreamOutputFormat outputFormat)
outputFormat
- MetricStreamOutputFormat
,
MetricStreamOutputFormat
Copyright © 2021. All rights reserved.