Class CustomCostsFileMetadata

java.lang.Object
com.datadog.api.client.v2.model.CustomCostsFileMetadata

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CustomCostsFileMetadata extends Object
Schema of a Custom Costs metadata.
  • Field Details

  • Constructor Details

    • CustomCostsFileMetadata

      public CustomCostsFileMetadata()
  • Method Details

    • billedCost

      public CustomCostsFileMetadata billedCost(Double billedCost)
    • getBilledCost

      @Nullable public Double getBilledCost()
      Total cost in the cost file.
      Returns:
      billedCost
    • setBilledCost

      public void setBilledCost(Double billedCost)
    • billingCurrency

      public CustomCostsFileMetadata billingCurrency(String billingCurrency)
    • getBillingCurrency

      @Nullable public String getBillingCurrency()
      Currency used in the Custom Costs file.
      Returns:
      billingCurrency
    • setBillingCurrency

      public void setBillingCurrency(String billingCurrency)
    • chargePeriod

      public CustomCostsFileMetadata chargePeriod(CustomCostsFileUsageChargePeriod chargePeriod)
    • getChargePeriod

      @Nullable public CustomCostsFileUsageChargePeriod getChargePeriod()
      Usage charge period of a Custom Costs file.
      Returns:
      chargePeriod
    • setChargePeriod

      public void setChargePeriod(CustomCostsFileUsageChargePeriod chargePeriod)
    • name

      public CustomCostsFileMetadata name(String name)
    • getName

      @Nullable public String getName()
      Name of the Custom Costs file.
      Returns:
      name
    • setName

      public void setName(String name)
    • providerNames

      public CustomCostsFileMetadata providerNames(List<String> providerNames)
    • addProviderNamesItem

      public CustomCostsFileMetadata addProviderNamesItem(String providerNamesItem)
    • getProviderNames

      @Nullable public List<String> getProviderNames()
      Providers contained in the Custom Costs file.
      Returns:
      providerNames
    • setProviderNames

      public void setProviderNames(List<String> providerNames)
    • status

      public CustomCostsFileMetadata status(String status)
    • getStatus

      @Nullable public String getStatus()
      Status of the Custom Costs file.
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • uploadedAt

      public CustomCostsFileMetadata uploadedAt(Double uploadedAt)
    • getUploadedAt

      @Nullable public Double getUploadedAt()
      Timestamp, in millisecond, of the upload time of the Custom Costs file.
      Returns:
      uploadedAt
    • setUploadedAt

      public void setUploadedAt(Double uploadedAt)
    • uploadedBy

      public CustomCostsFileMetadata uploadedBy(CustomCostsUser uploadedBy)
    • getUploadedBy

      @Nullable public CustomCostsUser getUploadedBy()
      Metadata of the user that has uploaded the Custom Costs file.
      Returns:
      uploadedBy
    • setUploadedBy

      public void setUploadedBy(CustomCostsUser uploadedBy)
    • putAdditionalProperty

      public CustomCostsFileMetadata putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      CustomCostsFileMetadata
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this CustomCostsFileMetadata object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object