Package com.datadog.api.client.v2.model
Class CreateAppsDatastoreRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.CreateAppsDatastoreRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateAppsDatastoreRequestDataAttributes
extends Object
Configuration and metadata to create a new datastore.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateAppsDatastoreRequestDataAttributes(String name, String primaryColumnName) -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanReturn true if this CreateAppsDatastoreRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.A human-readable description about the datastore.getName()The display name for the new datastore.The organization access level for the datastore.The name of the primary key column for this datastore.Can be set touuidto automatically generate primary keys when new items are added.inthashCode()primaryColumnName(String primaryColumnName) primaryKeyGenerationStrategy(DatastorePrimaryKeyGenerationStrategy primaryKeyGenerationStrategy) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDescription(String description) voidvoidvoidsetPrimaryColumnName(String primaryColumnName) voidsetPrimaryKeyGenerationStrategy(DatastorePrimaryKeyGenerationStrategy primaryKeyGenerationStrategy) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_ORG_ACCESS
- See Also:
-
JSON_PROPERTY_PRIMARY_COLUMN_NAME
- See Also:
-
JSON_PROPERTY_PRIMARY_KEY_GENERATION_STRATEGY
- See Also:
-
-
Constructor Details
-
CreateAppsDatastoreRequestDataAttributes
public CreateAppsDatastoreRequestDataAttributes() -
CreateAppsDatastoreRequestDataAttributes
-
-
Method Details
-
description
-
getDescription
A human-readable description about the datastore.- Returns:
- description
-
setDescription
-
name
-
getName
The display name for the new datastore.- Returns:
- name
-
setName
-
orgAccess
public CreateAppsDatastoreRequestDataAttributes orgAccess(CreateAppsDatastoreRequestDataAttributesOrgAccess orgAccess) -
getOrgAccess
The organization access level for the datastore. For example, 'contributor'.- Returns:
- orgAccess
-
setOrgAccess
-
-
getPrimaryColumnName
The name of the primary key column for this datastore. Primary column names: - Must abide by both PostgreSQL naming conventions - Cannot exceed 63 characters- Returns:
- primaryColumnName
-
setPrimaryColumnName
-
primaryKeyGenerationStrategy
public CreateAppsDatastoreRequestDataAttributes primaryKeyGenerationStrategy(DatastorePrimaryKeyGenerationStrategy primaryKeyGenerationStrategy) -
getPrimaryKeyGenerationStrategy
Can be set touuidto automatically generate primary keys when new items are added. Default value isnone, which requires you to supply a primary key for each new item.- Returns:
- primaryKeyGenerationStrategy
-
setPrimaryKeyGenerationStrategy
public void setPrimaryKeyGenerationStrategy(DatastorePrimaryKeyGenerationStrategy primaryKeyGenerationStrategy) -
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:
- CreateAppsDatastoreRequestDataAttributes
-
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 CreateAppsDatastoreRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-