Interface GetMetricConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetMetricConfigurationResponse.Builder,
,GetMetricConfigurationResponse> IotWirelessResponse.Builder
,SdkBuilder<GetMetricConfigurationResponse.Builder,
,GetMetricConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetMetricConfigurationResponse
public static interface GetMetricConfigurationResponse.Builder
extends IotWirelessResponse.Builder, SdkPojo, CopyableBuilder<GetMetricConfigurationResponse.Builder,GetMetricConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsummaryMetric
(Consumer<SummaryMetricConfiguration.Builder> summaryMetric) The configuration status of the AWS account for summary metric aggregation.summaryMetric
(SummaryMetricConfiguration summaryMetric) The configuration status of the AWS account for summary metric aggregation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotwireless.model.IotWirelessResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
summaryMetric
The configuration status of the AWS account for summary metric aggregation.
- Parameters:
summaryMetric
- The configuration status of the AWS account for summary metric aggregation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaryMetric
default GetMetricConfigurationResponse.Builder summaryMetric(Consumer<SummaryMetricConfiguration.Builder> summaryMetric) The configuration status of the AWS account for summary metric aggregation.
This is a convenience method that creates an instance of theSummaryMetricConfiguration.Builder
avoiding the need to create one manually viaSummaryMetricConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosummaryMetric(SummaryMetricConfiguration)
.- Parameters:
summaryMetric
- a consumer that will call methods onSummaryMetricConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-