Class ResourceGroup
java.lang.Object
com.developer.nefarious.zjoule.plugin.models.ResourceGroup
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the creation timestamp of the resource group.Retrieves the labels associated with the resource group.Retrieves the unique identifier of the resource group.Retrieves the current status of the resource group.Retrieves the status message providing additional information.Retrieves the tenant ID associated with the resource group.Retrieves the zone ID where the resource group resides.void
setCreatedAt
(String createdAt) Sets the creation timestamp of the resource group.void
Sets the labels associated with the resource group.void
setResourceGroupId
(String resourceGroupId) Sets the unique identifier of the resource group.void
Sets the current status of the resource group.void
setStatusMessage
(String statusMessage) Sets the status message providing additional information.void
setTenantId
(String tenantId) Sets the tenant ID associated with the resource group.void
Sets the zone ID where the resource group resides.
-
Constructor Details
-
ResourceGroup
public ResourceGroup()
-
-
Method Details
-
getCreatedAt
Retrieves the creation timestamp of the resource group.- Returns:
- the creation timestamp as a
String
.
-
setCreatedAt
Sets the creation timestamp of the resource group.- Parameters:
createdAt
- the creation timestamp to set.
-
getLabels
Retrieves the labels associated with the resource group. -
setLabels
Sets the labels associated with the resource group.- Parameters:
labels
- aList
of labels to set.
-
getResourceGroupId
Retrieves the unique identifier of the resource group.- Returns:
- the resource group ID as a
String
.
-
setResourceGroupId
Sets the unique identifier of the resource group.- Parameters:
resourceGroupId
- the resource group ID to set.
-
getStatus
Retrieves the current status of the resource group.- Returns:
- the status as a
String
.
-
setStatus
Sets the current status of the resource group.- Parameters:
status
- the status to set.
-
getStatusMessage
Retrieves the status message providing additional information.- Returns:
- the status message as a
String
.
-
setStatusMessage
Sets the status message providing additional information.- Parameters:
statusMessage
- the status message to set.
-
getTenantId
Retrieves the tenant ID associated with the resource group.- Returns:
- the tenant ID as a
String
.
-
setTenantId
Sets the tenant ID associated with the resource group.- Parameters:
tenantId
- the tenant ID to set.
-
getZoneId
Retrieves the zone ID where the resource group resides.- Returns:
- the zone ID as a
String
.
-
setZoneId
Sets the zone ID where the resource group resides.- Parameters:
zoneId
- the zone ID to set.
-