Interface MonitoredResourceInfo.Builder

    • Method Detail

      • arn

        MonitoredResourceInfo.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the resource being monitored.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the resource being monitored.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        MonitoredResourceInfo.Builder name​(String name)

        The name of the Lightsail resource being monitored.

        Parameters:
        name - The name of the Lightsail resource being monitored.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceType

        MonitoredResourceInfo.Builder resourceType​(String resourceType)

        The Lightsail resource type of the resource being monitored.

        Instances, load balancers, and relational databases are the only Lightsail resources that can currently be monitored by alarms.

        Parameters:
        resourceType - The Lightsail resource type of the resource being monitored.

        Instances, load balancers, and relational databases are the only Lightsail resources that can currently be monitored by alarms.

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

        MonitoredResourceInfo.Builder resourceType​(ResourceType resourceType)

        The Lightsail resource type of the resource being monitored.

        Instances, load balancers, and relational databases are the only Lightsail resources that can currently be monitored by alarms.

        Parameters:
        resourceType - The Lightsail resource type of the resource being monitored.

        Instances, load balancers, and relational databases are the only Lightsail resources that can currently be monitored by alarms.

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