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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeStorageSystemResourceMetricsResponse.Buildermetrics(Collection<ResourceMetrics> metrics)The details that your discovery job collected about your storage system resource.DescribeStorageSystemResourceMetricsResponse.Buildermetrics(Consumer<ResourceMetrics.Builder>... metrics)The details that your discovery job collected about your storage system resource.DescribeStorageSystemResourceMetricsResponse.Buildermetrics(ResourceMetrics... metrics)The details that your discovery job collected about your storage system resource.DescribeStorageSystemResourceMetricsResponse.BuildernextToken(String nextToken)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
copy
-
Methods inherited from interface software.amazon.awssdk.services.datasync.model.DataSyncResponse.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
-
metrics
DescribeStorageSystemResourceMetricsResponse.Builder metrics(Collection<ResourceMetrics> 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(ResourceMetrics... 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 to#metrics(List.) - 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:
#metrics(java.util.Collection)
-
nextToken
DescribeStorageSystemResourceMetricsResponse.Builder nextToken(String 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.
-
-