Interface ResourceMetrics.Builder

    • Method Detail

      • 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.
      • 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.
      • 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.