Package com.datadog.api.client.v2.model
Class CreateTenancyConfigDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.CreateTenancyConfigDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateTenancyConfigDataAttributes
extends Object
Attributes for creating a new OCI tenancy integration configuration, including credentials,
region settings, and collection options.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateTenancyConfigDataAttributes(CreateTenancyConfigDataAttributesAuthCredentials authCredentials, String homeRegion, String userOcid) -
Method Summary
Modifier and TypeMethodDescriptionauthCredentials(CreateTenancyConfigDataAttributesAuthCredentials authCredentials) configVersion(Long configVersion) costCollectionEnabled(Boolean costCollectionEnabled) ddCompartmentId(String ddCompartmentId) booleanReturn true if this CreateTenancyConfigDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.OCI API signing key credentials used to authenticate the Datadog integration with the OCI tenancy.Version number of the integration the tenancy is integrated withorg.openapitools.jackson.nullable.JsonNullable<Long>Whether cost data collection from OCI is enabled for the tenancy.The OCID of the OCI compartment used by the Datadog integration stack.The OCID of the OCI Resource Manager stack used by the Datadog integration.The home region of the OCI tenancy (for example, us-ashburn-1).Log collection configuration for an OCI tenancy, controlling which compartments and services have log collection enabled.Metrics collection configuration for an OCI tenancy, controlling which compartments and services are included or excluded.Region configuration for an OCI tenancy, specifying which regions are available, enabled, or disabled for data collection.Whether resource collection from OCI is enabled for the tenancy.The OCID of the OCI user used by the Datadog integration for authentication.inthashCode()homeRegion(String homeRegion) metricsConfig(CreateTenancyConfigDataAttributesMetricsConfig metricsConfig) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.regionsConfig(CreateTenancyConfigDataAttributesRegionsConfig regionsConfig) resourceCollectionEnabled(Boolean resourceCollectionEnabled) voidsetAuthCredentials(CreateTenancyConfigDataAttributesAuthCredentials authCredentials) voidsetConfigVersion(Long configVersion) voidsetConfigVersion_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> configVersion) voidsetCostCollectionEnabled(Boolean costCollectionEnabled) voidsetDdCompartmentId(String ddCompartmentId) voidsetDdStackId(String ddStackId) voidsetHomeRegion(String homeRegion) voidvoidsetMetricsConfig(CreateTenancyConfigDataAttributesMetricsConfig metricsConfig) voidsetRegionsConfig(CreateTenancyConfigDataAttributesRegionsConfig regionsConfig) voidsetResourceCollectionEnabled(Boolean resourceCollectionEnabled) voidsetUserOcid(String userOcid) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTH_CREDENTIALS
- See Also:
-
JSON_PROPERTY_CONFIG_VERSION
- See Also:
-
JSON_PROPERTY_COST_COLLECTION_ENABLED
- See Also:
-
JSON_PROPERTY_DD_COMPARTMENT_ID
- See Also:
-
JSON_PROPERTY_DD_STACK_ID
- See Also:
-
JSON_PROPERTY_HOME_REGION
- See Also:
-
JSON_PROPERTY_LOGS_CONFIG
- See Also:
-
JSON_PROPERTY_METRICS_CONFIG
- See Also:
-
JSON_PROPERTY_REGIONS_CONFIG
- See Also:
-
JSON_PROPERTY_RESOURCE_COLLECTION_ENABLED
- See Also:
-
JSON_PROPERTY_USER_OCID
- See Also:
-
-
Constructor Details
-
CreateTenancyConfigDataAttributes
public CreateTenancyConfigDataAttributes() -
CreateTenancyConfigDataAttributes
public CreateTenancyConfigDataAttributes(CreateTenancyConfigDataAttributesAuthCredentials authCredentials, String homeRegion, String userOcid)
-
-
Method Details
-
authCredentials
public CreateTenancyConfigDataAttributes authCredentials(CreateTenancyConfigDataAttributesAuthCredentials authCredentials) -
getAuthCredentials
OCI API signing key credentials used to authenticate the Datadog integration with the OCI tenancy.- Returns:
- authCredentials
-
setAuthCredentials
-
configVersion
-
getConfigVersion
Version number of the integration the tenancy is integrated with- Returns:
- configVersion
-
getConfigVersion_JsonNullable
-
setConfigVersion_JsonNullable
public void setConfigVersion_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> configVersion) -
setConfigVersion
-
costCollectionEnabled
-
getCostCollectionEnabled
Whether cost data collection from OCI is enabled for the tenancy.- Returns:
- costCollectionEnabled
-
setCostCollectionEnabled
-
ddCompartmentId
-
getDdCompartmentId
The OCID of the OCI compartment used by the Datadog integration stack.- Returns:
- ddCompartmentId
-
setDdCompartmentId
-
ddStackId
-
getDdStackId
The OCID of the OCI Resource Manager stack used by the Datadog integration.- Returns:
- ddStackId
-
setDdStackId
-
homeRegion
-
getHomeRegion
The home region of the OCI tenancy (for example, us-ashburn-1).- Returns:
- homeRegion
-
setHomeRegion
-
logsConfig
public CreateTenancyConfigDataAttributes logsConfig(CreateTenancyConfigDataAttributesLogsConfig logsConfig) -
getLogsConfig
Log collection configuration for an OCI tenancy, controlling which compartments and services have log collection enabled.- Returns:
- logsConfig
-
setLogsConfig
-
metricsConfig
public CreateTenancyConfigDataAttributes metricsConfig(CreateTenancyConfigDataAttributesMetricsConfig metricsConfig) -
getMetricsConfig
Metrics collection configuration for an OCI tenancy, controlling which compartments and services are included or excluded.- Returns:
- metricsConfig
-
setMetricsConfig
-
regionsConfig
public CreateTenancyConfigDataAttributes regionsConfig(CreateTenancyConfigDataAttributesRegionsConfig regionsConfig) -
getRegionsConfig
Region configuration for an OCI tenancy, specifying which regions are available, enabled, or disabled for data collection.- Returns:
- regionsConfig
-
setRegionsConfig
-
resourceCollectionEnabled
public CreateTenancyConfigDataAttributes resourceCollectionEnabled(Boolean resourceCollectionEnabled) -
getResourceCollectionEnabled
Whether resource collection from OCI is enabled for the tenancy.- Returns:
- resourceCollectionEnabled
-
setResourceCollectionEnabled
-
userOcid
-
getUserOcid
The OCID of the OCI user used by the Datadog integration for authentication.- Returns:
- userOcid
-
setUserOcid
-
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:
- CreateTenancyConfigDataAttributes
-
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 CreateTenancyConfigDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-