Interface DescribeMetricsExportResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeMetricsExportResponse.Builder,DescribeMetricsExportResponse>,ResiliencehubResponse.Builder,SdkBuilder<DescribeMetricsExportResponse.Builder,DescribeMetricsExportResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeMetricsExportResponse
public static interface DescribeMetricsExportResponse.Builder extends ResiliencehubResponse.Builder, SdkPojo, CopyableBuilder<DescribeMetricsExportResponse.Builder,DescribeMetricsExportResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeMetricsExportResponse.BuildererrorMessage(String errorMessage)Explains the error that occurred while exporting the metrics.default DescribeMetricsExportResponse.BuilderexportLocation(Consumer<S3Location.Builder> exportLocation)Specifies the name of the Amazon S3 bucket where the exported metrics is stored.DescribeMetricsExportResponse.BuilderexportLocation(S3Location exportLocation)Specifies the name of the Amazon S3 bucket where the exported metrics is stored.DescribeMetricsExportResponse.BuildermetricsExportId(String metricsExportId)Identifier for the metrics export task.DescribeMetricsExportResponse.Builderstatus(String status)Indicates the status of the metrics export task.DescribeMetricsExportResponse.Builderstatus(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 Detail
-
errorMessage
DescribeMetricsExportResponse.Builder errorMessage(String 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
DescribeMetricsExportResponse.Builder exportLocation(S3Location 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.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,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:
exportLocation(S3Location)
-
metricsExportId
DescribeMetricsExportResponse.Builder metricsExportId(String 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
DescribeMetricsExportResponse.Builder status(String 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:
MetricsExportStatusType,MetricsExportStatusType
-
status
DescribeMetricsExportResponse.Builder status(MetricsExportStatusType 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:
MetricsExportStatusType,MetricsExportStatusType
-
-