Class ResourceGroup

java.lang.Object
com.developer.nefarious.zjoule.plugin.models.ResourceGroup

public class ResourceGroup extends Object
Represents a resource group in the system.

A resource group is an organizational entity that contains various metadata such as creation time, labels, status, and identifiers for the tenant and zone. This class provides accessors and mutators for managing resource group properties. It is designed to be serialized and deserialized using the Google Gson library.

  • Constructor Details

    • ResourceGroup

      public ResourceGroup()
  • Method Details

    • getCreatedAt

      public String getCreatedAt()
      Retrieves the creation timestamp of the resource group.
      Returns:
      the creation timestamp as a String.
    • setCreatedAt

      public void setCreatedAt(String createdAt)
      Sets the creation timestamp of the resource group.
      Parameters:
      createdAt - the creation timestamp to set.
    • getLabels

      public List<String> getLabels()
      Retrieves the labels associated with the resource group.
      Returns:
      a List of labels as String.
    • setLabels

      public void setLabels(List<String> labels)
      Sets the labels associated with the resource group.
      Parameters:
      labels - a List of labels to set.
    • getResourceGroupId

      public String getResourceGroupId()
      Retrieves the unique identifier of the resource group.
      Returns:
      the resource group ID as a String.
    • setResourceGroupId

      public void setResourceGroupId(String resourceGroupId)
      Sets the unique identifier of the resource group.
      Parameters:
      resourceGroupId - the resource group ID to set.
    • getStatus

      public String getStatus()
      Retrieves the current status of the resource group.
      Returns:
      the status as a String.
    • setStatus

      public void setStatus(String status)
      Sets the current status of the resource group.
      Parameters:
      status - the status to set.
    • getStatusMessage

      public String getStatusMessage()
      Retrieves the status message providing additional information.
      Returns:
      the status message as a String.
    • setStatusMessage

      public void setStatusMessage(String statusMessage)
      Sets the status message providing additional information.
      Parameters:
      statusMessage - the status message to set.
    • getTenantId

      public String getTenantId()
      Retrieves the tenant ID associated with the resource group.
      Returns:
      the tenant ID as a String.
    • setTenantId

      public void setTenantId(String tenantId)
      Sets the tenant ID associated with the resource group.
      Parameters:
      tenantId - the tenant ID to set.
    • getZoneId

      public String getZoneId()
      Retrieves the zone ID where the resource group resides.
      Returns:
      the zone ID as a String.
    • setZoneId

      public void setZoneId(String zoneId)
      Sets the zone ID where the resource group resides.
      Parameters:
      zoneId - the zone ID to set.