Interface DescribeMetricsExportResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeMetricsExportResponse.Builder,
,DescribeMetricsExportResponse> ResiliencehubResponse.Builder
,SdkBuilder<DescribeMetricsExportResponse.Builder,
,DescribeMetricsExportResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeMetricsExportResponse
@Mutable
@NotThreadSafe
public static interface DescribeMetricsExportResponse.Builder
extends ResiliencehubResponse.Builder, SdkPojo, CopyableBuilder<DescribeMetricsExportResponse.Builder,DescribeMetricsExportResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrorMessage
(String errorMessage) Explains the error that occurred while exporting the metrics.exportLocation
(Consumer<S3Location.Builder> exportLocation) Specifies the name of the Amazon S3 bucket where the exported metrics is stored.exportLocation
(S3Location exportLocation) Specifies the name of the Amazon S3 bucket where the exported metrics is stored.metricsExportId
(String metricsExportId) Identifier for the metrics export task.Indicates the status of the metrics export task.status
(MetricsExportStatusType status) Indicates the status of the metrics export task.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.resiliencehub.model.ResiliencehubResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
errorMessage
Explains the error that occurred while exporting the metrics.
- Parameters:
errorMessage
- Explains the error that occurred while exporting the metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportLocation
Specifies the name of the Amazon S3 bucket where the exported metrics is stored.
- Parameters:
exportLocation
- Specifies the name of the Amazon S3 bucket where the exported metrics is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportLocation
default DescribeMetricsExportResponse.Builder exportLocation(Consumer<S3Location.Builder> exportLocation) Specifies the name of the Amazon S3 bucket where the exported metrics is stored.
This is a convenience method that creates an instance of theS3Location.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexportLocation(S3Location)
.- Parameters:
exportLocation
- a consumer that will call methods onS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metricsExportId
Identifier for the metrics export task.
- Parameters:
metricsExportId
- Identifier for the metrics export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Indicates the status of the metrics export task.
- Parameters:
status
- Indicates the status of the metrics export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Indicates the status of the metrics export task.
- Parameters:
status
- Indicates the status of the metrics export task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-