Interface MonitoredResourceInfo.Builder

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

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

    • 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

      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

      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: