Interface AddOn.Builder

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

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

    • name

      AddOn.Builder name(String name)

      The name of the add-on.

      Parameters:
      name - The name of the add-on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      AddOn.Builder status(String status)

      The status of the add-on.

      Parameters:
      status - The status of the add-on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snapshotTimeOfDay

      AddOn.Builder snapshotTimeOfDay(String snapshotTimeOfDay)

      The daily time when an automatic snapshot is created.

      The time shown is in HH:00 format, and in Coordinated Universal Time (UTC).

      The snapshot is automatically created between the time shown and up to 45 minutes after.

      Parameters:
      snapshotTimeOfDay - The daily time when an automatic snapshot is created.

      The time shown is in HH:00 format, and in Coordinated Universal Time (UTC).

      The snapshot is automatically created between the time shown and up to 45 minutes after.

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

      AddOn.Builder nextSnapshotTimeOfDay(String nextSnapshotTimeOfDay)

      The next daily time an automatic snapshot will be created.

      The time shown is in HH:00 format, and in Coordinated Universal Time (UTC).

      The snapshot is automatically created between the time shown and up to 45 minutes after.

      Parameters:
      nextSnapshotTimeOfDay - The next daily time an automatic snapshot will be created.

      The time shown is in HH:00 format, and in Coordinated Universal Time (UTC).

      The snapshot is automatically created between the time shown and up to 45 minutes after.

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

      AddOn.Builder threshold(String threshold)

      The trigger threshold of the action.

      This add-on only applies to Lightsail for Research resources.

      Parameters:
      threshold - The trigger threshold of the action.

      This add-on only applies to Lightsail for Research resources.

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

      AddOn.Builder duration(String duration)

      The amount of idle time in minutes after which your virtual computer will automatically stop.

      This add-on only applies to Lightsail for Research resources.

      Parameters:
      duration - The amount of idle time in minutes after which your virtual computer will automatically stop.

      This add-on only applies to Lightsail for Research resources.

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