Interface ResourceMetrics.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ResourceMetrics.Builder,ResourceMetrics>, SdkBuilder<ResourceMetrics.Builder,ResourceMetrics>, SdkPojo
Enclosing class:
ResourceMetrics

public static interface ResourceMetrics.Builder extends SdkPojo, CopyableBuilder<ResourceMetrics.Builder,ResourceMetrics>
  • Method Details

    • timestamp

      ResourceMetrics.Builder timestamp(Instant 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

      ResourceMetrics.Builder p95Metrics(P95Metrics 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

      default ResourceMetrics.Builder p95Metrics(Consumer<P95Metrics.Builder> 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 the P95Metrics.Builder avoiding the need to create one manually via P95Metrics.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to p95Metrics(P95Metrics).

      Parameters:
      p95Metrics - a consumer that will call methods on P95Metrics.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • capacity

      ResourceMetrics.Builder capacity(Capacity 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

      default ResourceMetrics.Builder capacity(Consumer<Capacity.Builder> capacity)

      The storage capacity of the on-premises storage system resource.

      This is a convenience method that creates an instance of the Capacity.Builder avoiding the need to create one manually via Capacity.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to capacity(Capacity).

      Parameters:
      capacity - a consumer that will call methods on Capacity.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceId

      ResourceMetrics.Builder resourceId(String 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

      ResourceMetrics.Builder resourceType(String 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

      ResourceMetrics.Builder resourceType(DiscoveryResourceType 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: