Interface DescribeStorageSystemResourceMetricsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeStorageSystemResourceMetricsResponse.Builder,,DescribeStorageSystemResourceMetricsResponse> DataSyncResponse.Builder,SdkBuilder<DescribeStorageSystemResourceMetricsResponse.Builder,,DescribeStorageSystemResourceMetricsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeStorageSystemResourceMetricsResponse
public static interface DescribeStorageSystemResourceMetricsResponse.Builder
extends DataSyncResponse.Builder, SdkPojo, CopyableBuilder<DescribeStorageSystemResourceMetricsResponse.Builder,DescribeStorageSystemResourceMetricsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmetrics(Collection<ResourceMetrics> metrics) The details that your discovery job collected about your storage system resource.metrics(Consumer<ResourceMetrics.Builder>... metrics) The details that your discovery job collected about your storage system resource.metrics(ResourceMetrics... metrics) The details that your discovery job collected about your storage system resource.The opaque string that indicates the position to begin the next list of results in the response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.datasync.model.DataSyncResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
metrics
The details that your discovery job collected about your storage system resource.
- Parameters:
metrics- The details that your discovery job collected about your storage system resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
The details that your discovery job collected about your storage system resource.
- Parameters:
metrics- The details that your discovery job collected about your storage system resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
DescribeStorageSystemResourceMetricsResponse.Builder metrics(Consumer<ResourceMetrics.Builder>... metrics) The details that your discovery job collected about your storage system resource.
This is a convenience method that creates an instance of theResourceMetrics.Builderavoiding the need to create one manually viaResourceMetrics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometrics(List<ResourceMetrics>).- Parameters:
metrics- a consumer that will call methods onResourceMetrics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The opaque string that indicates the position to begin the next list of results in the response.
- Parameters:
nextToken- The opaque string that indicates the position to begin the next list of results in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-