Interface GetMonitorResponse.Builder

    • Method Detail

      • monitorArn

        GetMonitorResponse.Builder monitorArn​(String monitorArn)

        The Amazon Resource Name (ARN) of the monitor.

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

        GetMonitorResponse.Builder monitorName​(String monitorName)

        The name of the monitor.

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

        GetMonitorResponse.Builder monitorStatus​(String monitorStatus)

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

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

        • ACTIVE: The monitor is active.

        • INACTIVE: The monitor is inactive.

        • ERROR: Monitor creation failed due to an error.

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

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

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

        • ACTIVE: The monitor is active.

        • INACTIVE: The monitor is inactive.

        • ERROR: Monitor creation failed due to an error.

        • DELETING: The 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, MonitorStatus
      • monitorStatus

        GetMonitorResponse.Builder monitorStatus​(MonitorStatus monitorStatus)

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

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

        • ACTIVE: The monitor is active.

        • INACTIVE: The monitor is inactive.

        • ERROR: Monitor creation failed due to an error.

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

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

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

        • ACTIVE: The monitor is active.

        • INACTIVE: The monitor is inactive.

        • ERROR: Monitor creation failed due to an error.

        • DELETING: The 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, MonitorStatus
      • localResources

        GetMonitorResponse.Builder localResources​(Collection<MonitorLocalResource> localResources)

        The local resources for this monitor.

        Parameters:
        localResources - The local resources for this monitor.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • localResources

        GetMonitorResponse.Builder localResources​(MonitorLocalResource... localResources)

        The local resources for this monitor.

        Parameters:
        localResources - The local resources for this monitor.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • remoteResources

        GetMonitorResponse.Builder remoteResources​(Collection<MonitorRemoteResource> remoteResources)

        The remote resources for this monitor.

        Parameters:
        remoteResources - The remote resources for this monitor.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • remoteResources

        GetMonitorResponse.Builder remoteResources​(MonitorRemoteResource... remoteResources)

        The remote resources for this monitor.

        Parameters:
        remoteResources - The remote resources for this monitor.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        GetMonitorResponse.Builder createdAt​(Instant createdAt)

        The date and time when the monitor was created.

        Parameters:
        createdAt - The date and time when the monitor was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • modifiedAt

        GetMonitorResponse.Builder modifiedAt​(Instant modifiedAt)

        The date and time when the monitor was last modified.

        Parameters:
        modifiedAt - The date and time when the monitor was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        GetMonitorResponse.Builder tags​(Map<String,​String> tags)

        The tags for a monitor.

        Parameters:
        tags - The tags for a monitor.
        Returns:
        Returns a reference to this object so that method calls can be chained together.