Interface PerformanceMonitorSummary.Builder

  • Method Details

    • monitorArn

      PerformanceMonitorSummary.Builder monitorArn(String monitorArn)

      The Amazon Resource Name (ARN) of the performance monitor.

      Parameters:
      monitorArn - The Amazon Resource Name (ARN) of the performance monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • monitorName

      PerformanceMonitorSummary.Builder monitorName(String monitorName)

      The name of the performance monitor.

      Parameters:
      monitorName - The name of the performance monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • monitorStatus

      PerformanceMonitorSummary.Builder monitorStatus(String monitorStatus)

      The status of a performance monitor. The status can be one of the following

      • PENDING: The performance monitor is in the process of being created.

      • ACTIVE: The performance monitor is active.

      • INACTIVE: The performance monitor is inactive.

      • ERROR: The performance monitor can't be created or updated.

      • DELETING: The performance monitor is in the process of being deleted.

      Parameters:
      monitorStatus - The status of a performance monitor. The status can be one of the following

      • PENDING: The performance monitor is in the process of being created.

      • ACTIVE: The performance monitor is active.

      • INACTIVE: The performance monitor is inactive.

      • ERROR: The performance monitor can't be created or updated.

      • DELETING: The performance monitor is in the process of being deleted.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • monitorStatus

      PerformanceMonitorSummary.Builder monitorStatus(MonitorStatus monitorStatus)

      The status of a performance monitor. The status can be one of the following

      • PENDING: The performance monitor is in the process of being created.

      • ACTIVE: The performance monitor is active.

      • INACTIVE: The performance monitor is inactive.

      • ERROR: The performance monitor can't be created or updated.

      • DELETING: The performance monitor is in the process of being deleted.

      Parameters:
      monitorStatus - The status of a performance monitor. The status can be one of the following

      • PENDING: The performance monitor is in the process of being created.

      • ACTIVE: The performance monitor is active.

      • INACTIVE: The performance monitor is inactive.

      • ERROR: The performance monitor can't be created or updated.

      • DELETING: The performance monitor is in the process of being deleted.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • monitorType

      PerformanceMonitorSummary.Builder monitorType(String monitorType)

      The type of resource that you monitor determines the type of the performance monitor.

      Parameters:
      monitorType - The type of resource that you monitor determines the type of the performance monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • monitorType

      The type of resource that you monitor determines the type of the performance monitor.

      Parameters:
      monitorType - The type of resource that you monitor determines the type of the performance monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • targets

      The resources that the performance monitor tracks network performance for.

      Parameters:
      targets - The resources that the performance monitor tracks network performance for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targets

      The resources that the performance monitor tracks network performance for.

      Parameters:
      targets - The resources that the performance monitor tracks network performance for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targets

      The resources that the performance monitor tracks network performance for.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to targets(List<PerformanceMonitorTarget>).

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