Class ComputeUsageRecord
java.lang.Object
com.cloudera.cdp.consumption.model.ComputeUsageRecord
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2024-09-27T08:40:29.233-07:00")
public class ComputeUsageRecord
extends Object
Record of compute usage values aggregated hourly.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for cloudProvider.Getter for clusterCrn.Getter for clusterName.Getter for clusterTemplate.Getter for clusterType.Getter for environmentCrn.Getter for environmentName.Getter for grossCharge.getHours()
Getter for hours.Getter for instanceCount.Getter for instanceType.Getter for listRate.Getter for quantity.Getter for quantityType.Getter for serviceFeature.Getter for usageEndTimestamp.Getter for usageStartTimestamp.Getter for userTags.int
hashCode()
void
setCloudProvider
(String cloudProvider) Setter for cloudProvider.void
setClusterCrn
(String clusterCrn) Setter for clusterCrn.void
setClusterName
(String clusterName) Setter for clusterName.void
setClusterTemplate
(String clusterTemplate) Setter for clusterTemplate.void
setClusterType
(String clusterType) Setter for clusterType.void
setEnvironmentCrn
(String environmentCrn) Setter for environmentCrn.void
setEnvironmentName
(String environmentName) Setter for environmentName.void
setGrossCharge
(Double grossCharge) Setter for grossCharge.void
Setter for hours.void
setInstanceCount
(Integer instanceCount) Setter for instanceCount.void
setInstanceType
(String instanceType) Setter for instanceType.void
setListRate
(Double listRate) Setter for listRate.void
setQuantity
(Double quantity) Setter for quantity.void
setQuantityType
(String quantityType) Setter for quantityType.void
setServiceFeature
(String serviceFeature) Setter for serviceFeature.void
setUsageEndTimestamp
(String usageEndTimestamp) Setter for usageEndTimestamp.void
setUsageStartTimestamp
(String usageStartTimestamp) Setter for usageStartTimestamp.void
setUserTags
(String userTags) Setter for userTags.toString()
-
Constructor Details
-
ComputeUsageRecord
public ComputeUsageRecord()
-
-
Method Details
-
getQuantityType
Getter for quantityType. Type of usage by the cluster (Eg: INSTANCE_USAGE, COMPUTE_USAGE). -
setQuantityType
Setter for quantityType. Type of usage by the cluster (Eg: INSTANCE_USAGE, COMPUTE_USAGE). -
getEnvironmentName
Getter for environmentName. Name of the environment. -
setEnvironmentName
Setter for environmentName. Name of the environment. -
getEnvironmentCrn
Getter for environmentCrn. CRN of the environment. -
setEnvironmentCrn
Setter for environmentCrn. CRN of the environment. -
getClusterName
Getter for clusterName. Name of the cluster. -
setClusterName
Setter for clusterName. Name of the cluster. -
getClusterCrn
Getter for clusterCrn. CRN of the cluster. -
setClusterCrn
Setter for clusterCrn. CRN of the cluster. -
getCloudProvider
Getter for cloudProvider. Cloud Provider on which cluster is running. -
setCloudProvider
Setter for cloudProvider. Cloud Provider on which cluster is running. -
getServiceFeature
Getter for serviceFeature. Service Feature of the cluster. -
setServiceFeature
Setter for serviceFeature. Service Feature of the cluster. -
getUsageStartTimestamp
Getter for usageStartTimestamp. Timestamp of start of the usage. -
setUsageStartTimestamp
Setter for usageStartTimestamp. Timestamp of start of the usage. -
getUsageEndTimestamp
Getter for usageEndTimestamp. Timestamp of end of the usage. -
setUsageEndTimestamp
Setter for usageEndTimestamp. Timestamp of end of the usage. -
getQuantity
Getter for quantity. Quantity of usage of the cluster. -
setQuantity
Setter for quantity. Quantity of usage of the cluster. -
getGrossCharge
Getter for grossCharge. Number of credits consumed by this usage. -
setGrossCharge
Setter for grossCharge. Number of credits consumed by this usage. -
getListRate
Getter for listRate. Rate in credits at which usage is charged for given cluster type, instance type and cloud provider. -
setListRate
Setter for listRate. Rate in credits at which usage is charged for given cluster type, instance type and cloud provider. -
getHours
Getter for hours. Total number of hours for which instances were running. -
setHours
Setter for hours. Total number of hours for which instances were running. -
getInstanceType
Getter for instanceType. Type of instance of the cluster. -
setInstanceType
Setter for instanceType. Type of instance of the cluster. -
getInstanceCount
Getter for instanceCount. Total number of instances in the cluster which were in use. -
setInstanceCount
Setter for instanceCount. Total number of instances in the cluster which were in use. -
getClusterType
Getter for clusterType. Type of the cluster. -
setClusterType
Setter for clusterType. Type of the cluster. -
getUserTags
Getter for userTags. The tags assigned to a cluster. The format of this is a map serialized into a string as json. e.g.: \"tags\": \"{\\\"key1\\\":\\\"value1\\\",\\\"key2\\\":\\\"value2\\\"}\" -
setUserTags
Setter for userTags. The tags assigned to a cluster. The format of this is a map serialized into a string as json. e.g.: \"tags\": \"{\\\"key1\\\":\\\"value1\\\",\\\"key2\\\":\\\"value2\\\"}\" -
getClusterTemplate
Getter for clusterTemplate. The template with which the cluster is created. -
setClusterTemplate
Setter for clusterTemplate. The template with which the cluster is created. -
equals
-
hashCode
public int hashCode() -
toString
-