Interface ResourceMetrics.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceMetrics.Builder,
,ResourceMetrics> SdkBuilder<ResourceMetrics.Builder,
,ResourceMetrics> SdkPojo
- Enclosing class:
ResourceMetrics
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceMetrics.Builder
capacity
(Consumer<Capacity.Builder> capacity) The storage capacity of the on-premises storage system resource.The storage capacity of the on-premises storage system resource.default ResourceMetrics.Builder
p95Metrics
(Consumer<P95Metrics.Builder> p95Metrics) The types of performance data that DataSync Discovery collects about the on-premises storage system resource.p95Metrics
(P95Metrics p95Metrics) The types of performance data that DataSync Discovery collects about the on-premises storage system resource.resourceId
(String resourceId) The universally unique identifier (UUID) of the on-premises storage system resource.resourceType
(String resourceType) The type of on-premises storage system resource.resourceType
(DiscoveryResourceType resourceType) The type of on-premises storage system resource.The time when DataSync Discovery collected this information from the resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
timestamp
The time when DataSync Discovery collected this information from the resource.
- Parameters:
timestamp
- The time when DataSync Discovery collected this information from the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
p95Metrics
The types of performance data that DataSync Discovery collects about the on-premises storage system resource.
- Parameters:
p95Metrics
- The types of performance data that DataSync Discovery collects about the on-premises storage system resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
p95Metrics
The types of performance data that DataSync Discovery collects about the on-premises storage system resource.
This is a convenience method that creates an instance of theP95Metrics.Builder
avoiding the need to create one manually viaP95Metrics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed top95Metrics(P95Metrics)
.- Parameters:
p95Metrics
- a consumer that will call methods onP95Metrics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capacity
The storage capacity of the on-premises storage system resource.
- Parameters:
capacity
- The storage capacity of the on-premises storage system resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacity
The storage capacity of the on-premises storage system resource.
This is a convenience method that creates an instance of theCapacity.Builder
avoiding the need to create one manually viaCapacity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapacity(Capacity)
.- Parameters:
capacity
- a consumer that will call methods onCapacity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceId
The universally unique identifier (UUID) of the on-premises storage system resource.
- Parameters:
resourceId
- The universally unique identifier (UUID) of the on-premises storage system resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of on-premises storage system resource.
- Parameters:
resourceType
- The type of on-premises storage system resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The type of on-premises storage system resource.
- Parameters:
resourceType
- The type of on-premises storage system resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-