Class CloudInventorySyncConfigAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CloudInventorySyncConfigAttributes extends Object
Attributes for a Storage Management configuration. Fields other than id may be empty in the response immediately after a create or update; subsequent reads return the full configuration.
  • Field Details

  • Constructor Details

  • Method Details

    • awsAccountId

      public CloudInventorySyncConfigAttributes awsAccountId(String awsAccountId)
    • getAwsAccountId

      public String getAwsAccountId()
      AWS account ID for the inventory bucket.
      Returns:
      awsAccountId
    • setAwsAccountId

      public void setAwsAccountId(String awsAccountId)
    • awsBucketName

      public CloudInventorySyncConfigAttributes awsBucketName(String awsBucketName)
    • getAwsBucketName

      public String getAwsBucketName()
      AWS S3 bucket name for inventory files.
      Returns:
      awsBucketName
    • setAwsBucketName

      public void setAwsBucketName(String awsBucketName)
    • awsRegion

      public CloudInventorySyncConfigAttributes awsRegion(String awsRegion)
    • getAwsRegion

      public String getAwsRegion()
      AWS Region for the inventory bucket.
      Returns:
      awsRegion
    • setAwsRegion

      public void setAwsRegion(String awsRegion)
    • azureClientId

      public CloudInventorySyncConfigAttributes azureClientId(String azureClientId)
    • getAzureClientId

      public String getAzureClientId()
      Azure AD application (client) ID.
      Returns:
      azureClientId
    • setAzureClientId

      public void setAzureClientId(String azureClientId)
    • azureContainerName

      public CloudInventorySyncConfigAttributes azureContainerName(String azureContainerName)
    • getAzureContainerName

      public String getAzureContainerName()
      Azure blob container name.
      Returns:
      azureContainerName
    • setAzureContainerName

      public void setAzureContainerName(String azureContainerName)
    • azureStorageAccountName

      public CloudInventorySyncConfigAttributes azureStorageAccountName(String azureStorageAccountName)
    • getAzureStorageAccountName

      public String getAzureStorageAccountName()
      Azure storage account name.
      Returns:
      azureStorageAccountName
    • setAzureStorageAccountName

      public void setAzureStorageAccountName(String azureStorageAccountName)
    • azureTenantId

      public CloudInventorySyncConfigAttributes azureTenantId(String azureTenantId)
    • getAzureTenantId

      public String getAzureTenantId()
      Azure AD tenant ID.
      Returns:
      azureTenantId
    • setAzureTenantId

      public void setAzureTenantId(String azureTenantId)
    • cloudProvider

    • getCloudProvider

      public CloudInventoryCloudProviderId getCloudProvider()
      Cloud provider for this sync configuration (aws, gcp, or azure ). For requests, must match the provider block supplied under attributes.
      Returns:
      cloudProvider
    • setCloudProvider

      public void setCloudProvider(CloudInventoryCloudProviderId cloudProvider)
    • getError

      public String getError()
      Human-readable error detail when sync is unhealthy.
      Returns:
      error
    • getErrorCode

      public String getErrorCode()
      Machine-readable error code when sync is unhealthy.
      Returns:
      errorCode
    • gcpBucketName

      public CloudInventorySyncConfigAttributes gcpBucketName(String gcpBucketName)
    • getGcpBucketName

      public String getGcpBucketName()
      GCS bucket name for inventory files Datadog reads.
      Returns:
      gcpBucketName
    • setGcpBucketName

      public void setGcpBucketName(String gcpBucketName)
    • gcpProjectId

      public CloudInventorySyncConfigAttributes gcpProjectId(String gcpProjectId)
    • getGcpProjectId

      public String getGcpProjectId()
      GCP project ID.
      Returns:
      gcpProjectId
    • setGcpProjectId

      public void setGcpProjectId(String gcpProjectId)
    • gcpServiceAccountEmail

      public CloudInventorySyncConfigAttributes gcpServiceAccountEmail(String gcpServiceAccountEmail)
    • getGcpServiceAccountEmail

      public String getGcpServiceAccountEmail()
      Service account email for bucket access.
      Returns:
      gcpServiceAccountEmail
    • setGcpServiceAccountEmail

      public void setGcpServiceAccountEmail(String gcpServiceAccountEmail)
    • getPrefix

      public String getPrefix()
      Object key prefix where inventory reports are written. Returns / when reports are written at the bucket root.
      Returns:
      prefix
    • putAdditionalProperty

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