Package com.datadog.api.client.v2.model
Class DatasetAttributesRequest
java.lang.Object
com.datadog.api.client.v2.model.DatasetAttributesRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DatasetAttributesRequest
extends Object
Dataset metadata and configurations.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDatasetAttributesRequest(String name, List<String> principals, List<FiltersPerProduct> productFilters) -
Method Summary
Modifier and TypeMethodDescriptionaddPrincipalsItem(String principalsItem) addProductFiltersItem(FiltersPerProduct productFiltersItem) booleanReturn true if this DatasetAttributesRequest object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getName()Name of the dataset.List of access principals, formatted asprincipal_type:id.List of product-specific filters.inthashCode()principals(List<String> principals) productFilters(List<FiltersPerProduct> productFilters) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetPrincipals(List<String> principals) voidsetProductFilters(List<FiltersPerProduct> productFilters) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_PRINCIPALS
- See Also:
-
JSON_PROPERTY_PRODUCT_FILTERS
- See Also:
-
-
Constructor Details
-
DatasetAttributesRequest
public DatasetAttributesRequest() -
DatasetAttributesRequest
public DatasetAttributesRequest(String name, List<String> principals, List<FiltersPerProduct> productFilters)
-
-
Method Details
-
name
-
getName
Name of the dataset.- Returns:
- name
-
setName
-
principals
-
addPrincipalsItem
-
getPrincipals
List of access principals, formatted asprincipal_type:id. Principal can be 'team' or 'role'.- Returns:
- principals
-
setPrincipals
-
productFilters
-
addProductFiltersItem
-
getProductFilters
List of product-specific filters.- Returns:
- productFilters
-
setProductFilters
-
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:
- DatasetAttributesRequest
-
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 DatasetAttributesRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-