Interface GetBucketMetricDataResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetBucketMetricDataResponse.Builder,GetBucketMetricDataResponse>,LightsailResponse.Builder,SdkBuilder<GetBucketMetricDataResponse.Builder,GetBucketMetricDataResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetBucketMetricDataResponse
public static interface GetBucketMetricDataResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetBucketMetricDataResponse.Builder,GetBucketMetricDataResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetBucketMetricDataResponse.BuildermetricData(Collection<MetricDatapoint> metricData)An array of objects that describe the metric data returned.GetBucketMetricDataResponse.BuildermetricData(Consumer<MetricDatapoint.Builder>... metricData)An array of objects that describe the metric data returned.GetBucketMetricDataResponse.BuildermetricData(MetricDatapoint... metricData)An array of objects that describe the metric data returned.GetBucketMetricDataResponse.BuildermetricName(String metricName)The name of the metric returned.GetBucketMetricDataResponse.BuildermetricName(BucketMetricName metricName)The name of the metric returned.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailResponse.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 Detail
-
metricName
GetBucketMetricDataResponse.Builder metricName(String metricName)
The name of the metric returned.
- Parameters:
metricName- The name of the metric returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BucketMetricName,BucketMetricName
-
metricName
GetBucketMetricDataResponse.Builder metricName(BucketMetricName metricName)
The name of the metric returned.
- Parameters:
metricName- The name of the metric returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BucketMetricName,BucketMetricName
-
metricData
GetBucketMetricDataResponse.Builder metricData(Collection<MetricDatapoint> metricData)
An array of objects that describe the metric data returned.
- Parameters:
metricData- An array of objects that describe the metric data returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricData
GetBucketMetricDataResponse.Builder metricData(MetricDatapoint... metricData)
An array of objects that describe the metric data returned.
- Parameters:
metricData- An array of objects that describe the metric data returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricData
GetBucketMetricDataResponse.Builder metricData(Consumer<MetricDatapoint.Builder>... metricData)
An array of objects that describe the metric data returned.
This is a convenience method that creates an instance of theMetricDatapoint.Builderavoiding the need to create one manually viaMetricDatapoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#metricData(List.) - Parameters:
metricData- a consumer that will call methods onMetricDatapoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#metricData(java.util.Collection)
-
-