Class SyncPropertyWithMapping

java.lang.Object
com.datadog.api.client.v2.model.SyncPropertyWithMapping

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyncPropertyWithMapping extends Object
Sync property with mapping configuration.
  • Field Details

  • Constructor Details

    • SyncPropertyWithMapping

      public SyncPropertyWithMapping()
  • Method Details

    • mapping

      public SyncPropertyWithMapping mapping(Map<String,String> mapping)
    • putMappingItem

      public SyncPropertyWithMapping putMappingItem(String key, String mappingItem)
    • getMapping

      @Nullable public Map<String,String> getMapping()
      Map of source values to destination values for synchronization.
      Returns:
      mapping
    • setMapping

      public void setMapping(Map<String,String> mapping)
    • nameMapping

      public SyncPropertyWithMapping nameMapping(Map<String,String> nameMapping)
    • putNameMappingItem

      public SyncPropertyWithMapping putNameMappingItem(String key, String nameMappingItem)
    • getNameMapping

      @Nullable public Map<String,String> getNameMapping()
      Map of source names to display names used during synchronization.
      Returns:
      nameMapping
    • setNameMapping

      public void setNameMapping(Map<String,String> nameMapping)
    • syncType

      public SyncPropertyWithMapping syncType(String syncType)
    • getSyncType

      @Nullable public String getSyncType()
      The direction and type of synchronization for this property.
      Returns:
      syncType
    • setSyncType

      public void setSyncType(String syncType)
    • putAdditionalProperty

      public SyncPropertyWithMapping putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      SyncPropertyWithMapping
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this SyncPropertyWithMapping object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object