Package com.datadog.api.client.v2.model
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionCloudInventorySyncConfigAttributes(String awsAccountId, String awsBucketName, String awsRegion, String azureClientId, String azureContainerName, String azureStorageAccountName, String azureTenantId, CloudInventoryCloudProviderId cloudProvider, String error, String errorCode, String gcpBucketName, String gcpProjectId, String gcpServiceAccountEmail, String prefix) -
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) awsBucketName(String awsBucketName) azureClientId(String azureClientId) azureContainerName(String azureContainerName) azureStorageAccountName(String azureStorageAccountName) azureTenantId(String azureTenantId) cloudProvider(CloudInventoryCloudProviderId cloudProvider) booleanReturn true if this CloudInventorySyncConfigAttributes object is equal to o.gcpBucketName(String gcpBucketName) gcpProjectId(String gcpProjectId) gcpServiceAccountEmail(String gcpServiceAccountEmail) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.AWS account ID for the inventory bucket.AWS S3 bucket name for inventory files.AWS Region for the inventory bucket.Azure AD application (client) ID.Azure blob container name.Azure storage account name.Azure AD tenant ID.Cloud provider for this sync configuration (aws,gcp, orazure).getError()Human-readable error detail when sync is unhealthy.Machine-readable error code when sync is unhealthy.GCS bucket name for inventory files Datadog reads.GCP project ID.Service account email for bucket access.Object key prefix where inventory reports are written.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAwsAccountId(String awsAccountId) voidsetAwsBucketName(String awsBucketName) voidsetAwsRegion(String awsRegion) voidsetAzureClientId(String azureClientId) voidsetAzureContainerName(String azureContainerName) voidsetAzureStorageAccountName(String azureStorageAccountName) voidsetAzureTenantId(String azureTenantId) voidsetCloudProvider(CloudInventoryCloudProviderId cloudProvider) voidsetGcpBucketName(String gcpBucketName) voidsetGcpProjectId(String gcpProjectId) voidsetGcpServiceAccountEmail(String gcpServiceAccountEmail) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AWS_ACCOUNT_ID
- See Also:
-
JSON_PROPERTY_AWS_BUCKET_NAME
- See Also:
-
JSON_PROPERTY_AWS_REGION
- See Also:
-
JSON_PROPERTY_AZURE_CLIENT_ID
- See Also:
-
JSON_PROPERTY_AZURE_CONTAINER_NAME
- See Also:
-
JSON_PROPERTY_AZURE_STORAGE_ACCOUNT_NAME
- See Also:
-
JSON_PROPERTY_AZURE_TENANT_ID
- See Also:
-
JSON_PROPERTY_CLOUD_PROVIDER
- See Also:
-
JSON_PROPERTY_ERROR
- See Also:
-
JSON_PROPERTY_ERROR_CODE
- See Also:
-
JSON_PROPERTY_GCP_BUCKET_NAME
- See Also:
-
JSON_PROPERTY_GCP_PROJECT_ID
- See Also:
-
JSON_PROPERTY_GCP_SERVICE_ACCOUNT_EMAIL
- See Also:
-
JSON_PROPERTY_PREFIX
- See Also:
-
-
Constructor Details
-
CloudInventorySyncConfigAttributes
public CloudInventorySyncConfigAttributes() -
CloudInventorySyncConfigAttributes
public CloudInventorySyncConfigAttributes(String awsAccountId, String awsBucketName, String awsRegion, String azureClientId, String azureContainerName, String azureStorageAccountName, String azureTenantId, CloudInventoryCloudProviderId cloudProvider, String error, String errorCode, String gcpBucketName, String gcpProjectId, String gcpServiceAccountEmail, String prefix)
-
-
Method Details
-
awsAccountId
-
getAwsAccountId
AWS account ID for the inventory bucket.- Returns:
- awsAccountId
-
setAwsAccountId
-
awsBucketName
-
getAwsBucketName
AWS S3 bucket name for inventory files.- Returns:
- awsBucketName
-
setAwsBucketName
-
awsRegion
-
getAwsRegion
AWS Region for the inventory bucket.- Returns:
- awsRegion
-
setAwsRegion
-
azureClientId
-
getAzureClientId
Azure AD application (client) ID.- Returns:
- azureClientId
-
setAzureClientId
-
azureContainerName
-
getAzureContainerName
Azure blob container name.- Returns:
- azureContainerName
-
setAzureContainerName
-
azureStorageAccountName
-
getAzureStorageAccountName
Azure storage account name.- Returns:
- azureStorageAccountName
-
setAzureStorageAccountName
-
azureTenantId
-
getAzureTenantId
Azure AD tenant ID.- Returns:
- azureTenantId
-
setAzureTenantId
-
cloudProvider
public CloudInventorySyncConfigAttributes cloudProvider(CloudInventoryCloudProviderId cloudProvider) -
getCloudProvider
Cloud provider for this sync configuration (aws,gcp, orazure). For requests, must match the provider block supplied underattributes.- Returns:
- cloudProvider
-
setCloudProvider
-
getError
Human-readable error detail when sync is unhealthy.- Returns:
- error
-
getErrorCode
Machine-readable error code when sync is unhealthy.- Returns:
- errorCode
-
gcpBucketName
-
getGcpBucketName
GCS bucket name for inventory files Datadog reads.- Returns:
- gcpBucketName
-
setGcpBucketName
-
gcpProjectId
-
getGcpProjectId
GCP project ID.- Returns:
- gcpProjectId
-
setGcpProjectId
-
gcpServiceAccountEmail
-
getGcpServiceAccountEmail
Service account email for bucket access.- Returns:
- gcpServiceAccountEmail
-
setGcpServiceAccountEmail
-
getPrefix
Object key prefix where inventory reports are written. Returns/when reports are written at the bucket root.- Returns:
- prefix
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- CloudInventorySyncConfigAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this CloudInventorySyncConfigAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-