Class GCPUsageCostConfigAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class GCPUsageCostConfigAttributes extends Object
Attributes for a Google Cloud Usage Cost config.
  • Field Details

  • Constructor Details

    • GCPUsageCostConfigAttributes

      public GCPUsageCostConfigAttributes()
    • GCPUsageCostConfigAttributes

      public GCPUsageCostConfigAttributes(String accountId, String bucketName, String dataset, String exportPrefix, String exportProjectName, String serviceAccount, String status)
  • Method Details

    • accountId

      public GCPUsageCostConfigAttributes accountId(String accountId)
    • getAccountId

      public String getAccountId()
      The Google Cloud account ID.
      Returns:
      accountId
    • setAccountId

      public void setAccountId(String accountId)
    • bucketName

      public GCPUsageCostConfigAttributes bucketName(String bucketName)
    • getBucketName

      public String getBucketName()
      The Google Cloud bucket name used to store the Usage Cost export.
      Returns:
      bucketName
    • setBucketName

      public void setBucketName(String bucketName)
    • createdAt

      public GCPUsageCostConfigAttributes createdAt(String createdAt)
    • getCreatedAt

      @Nullable public String getCreatedAt()
      The timestamp when the Google Cloud Usage Cost config was created.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(String createdAt)
    • dataset

      public GCPUsageCostConfigAttributes dataset(String dataset)
    • getDataset

      public String getDataset()
      The export dataset name used for the Google Cloud Usage Cost Report.
      Returns:
      dataset
    • setDataset

      public void setDataset(String dataset)
    • errorMessages

      public GCPUsageCostConfigAttributes errorMessages(List<String> errorMessages)
    • addErrorMessagesItem

      public GCPUsageCostConfigAttributes addErrorMessagesItem(String errorMessagesItem)
    • getErrorMessages

      @Nullable public List<String> getErrorMessages()
      The error messages for the Google Cloud Usage Cost config.
      Returns:
      errorMessages
    • getErrorMessages_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getErrorMessages_JsonNullable()
    • setErrorMessages_JsonNullable

      public void setErrorMessages_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> errorMessages)
    • setErrorMessages

      public void setErrorMessages(List<String> errorMessages)
    • exportPrefix

      public GCPUsageCostConfigAttributes exportPrefix(String exportPrefix)
    • getExportPrefix

      public String getExportPrefix()
      The export prefix used for the Google Cloud Usage Cost Report.
      Returns:
      exportPrefix
    • setExportPrefix

      public void setExportPrefix(String exportPrefix)
    • exportProjectName

      public GCPUsageCostConfigAttributes exportProjectName(String exportProjectName)
    • getExportProjectName

      public String getExportProjectName()
      The name of the Google Cloud Usage Cost Report.
      Returns:
      exportProjectName
    • setExportProjectName

      public void setExportProjectName(String exportProjectName)
    • months

      public GCPUsageCostConfigAttributes months(Integer months)
    • getMonths

      @Deprecated @Nullable public Integer getMonths()
      Deprecated.
      The number of months the report has been backfilled. maximum: 36
      Returns:
      months
    • setMonths

      @Deprecated public void setMonths(Integer months)
      Deprecated.
    • projectId

      public GCPUsageCostConfigAttributes projectId(String projectId)
    • getProjectId

      @Nullable public String getProjectId()
      The project_id of the Google Cloud Usage Cost report.
      Returns:
      projectId
    • setProjectId

      public void setProjectId(String projectId)
    • serviceAccount

      public GCPUsageCostConfigAttributes serviceAccount(String serviceAccount)
    • getServiceAccount

      public String getServiceAccount()
      The unique Google Cloud service account email.
      Returns:
      serviceAccount
    • setServiceAccount

      public void setServiceAccount(String serviceAccount)
    • status

      public GCPUsageCostConfigAttributes status(String status)
    • getStatus

      public String getStatus()
      The status of the Google Cloud Usage Cost config.
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • statusUpdatedAt

      public GCPUsageCostConfigAttributes statusUpdatedAt(String statusUpdatedAt)
    • getStatusUpdatedAt

      @Nullable public String getStatusUpdatedAt()
      The timestamp when the Google Cloud Usage Cost config status was updated.
      Returns:
      statusUpdatedAt
    • setStatusUpdatedAt

      public void setStatusUpdatedAt(String statusUpdatedAt)
    • updatedAt

      public GCPUsageCostConfigAttributes updatedAt(String updatedAt)
    • getUpdatedAt

      @Nullable public String getUpdatedAt()
      The timestamp when the Google Cloud Usage Cost config status was updated.
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(String updatedAt)
    • putAdditionalProperty

      public GCPUsageCostConfigAttributes 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:
      GCPUsageCostConfigAttributes
    • 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 GCPUsageCostConfigAttributes 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