Package com.datadog.api.client.v2.model
Class CreateConnectionRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.CreateConnectionRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateConnectionRequestDataAttributes
extends Object
Attributes defining the data source connection, including join configuration and custom fields.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateConnectionRequestDataAttributes(String joinAttribute, String joinType, String type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this CreateConnectionRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.List of custom attribute fields to import from the data source.The attribute in the data source used to join records with the entity.The type of join key used to link the data source to the entity (for example, email or user_id).Additional key-value metadata associated with the connection.getType()The type of data source connection (for example, ref_table).inthashCode()joinAttribute(String joinAttribute) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putMetadataItem(String key, String metadataItem) voidvoidsetJoinAttribute(String joinAttribute) voidsetJoinType(String joinType) voidsetMetadata(Map<String, String> metadata) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FIELDS
- See Also:
-
JSON_PROPERTY_JOIN_ATTRIBUTE
- See Also:
-
JSON_PROPERTY_JOIN_TYPE
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
CreateConnectionRequestDataAttributes
public CreateConnectionRequestDataAttributes() -
CreateConnectionRequestDataAttributes
-
-
Method Details
-
fields
public CreateConnectionRequestDataAttributes fields(List<CreateConnectionRequestDataAttributesFieldsItems> fields) -
addFieldsItem
public CreateConnectionRequestDataAttributes addFieldsItem(CreateConnectionRequestDataAttributesFieldsItems fieldsItem) -
getFields
List of custom attribute fields to import from the data source.- Returns:
- fields
-
setFields
-
joinAttribute
-
getJoinAttribute
The attribute in the data source used to join records with the entity.- Returns:
- joinAttribute
-
setJoinAttribute
-
joinType
-
getJoinType
The type of join key used to link the data source to the entity (for example, email or user_id).- Returns:
- joinType
-
setJoinType
-
metadata
-
putMetadataItem
-
getMetadata
Additional key-value metadata associated with the connection.- Returns:
- metadata
-
setMetadata
-
type
-
getType
The type of data source connection (for example, ref_table).- Returns:
- type
-
setType
-
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:
- CreateConnectionRequestDataAttributes
-
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 CreateConnectionRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-