Class SalesforceServiceCloudObjectDataset


  • public final class SalesforceServiceCloudObjectDataset
    extends Dataset
    The Salesforce Service Cloud object dataset.
    • Constructor Detail

      • SalesforceServiceCloudObjectDataset

        public SalesforceServiceCloudObjectDataset()
    • Method Detail

      • withStructure

        public SalesforceServiceCloudObjectDataset withStructure​(Object structure)
        Set the structure property: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.
        Overrides:
        withStructure in class Dataset
        Parameters:
        structure - the structure value to set.
        Returns:
        the Dataset object itself.
      • withSchema

        public SalesforceServiceCloudObjectDataset withSchema​(Object schema)
        Set the schema property: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.
        Overrides:
        withSchema in class Dataset
        Parameters:
        schema - the schema value to set.
        Returns:
        the Dataset object itself.
      • withFolder

        public SalesforceServiceCloudObjectDataset withFolder​(DatasetFolder folder)
        Set the folder property: The folder that this Dataset is in. If not specified, Dataset will appear at the root level.
        Overrides:
        withFolder in class Dataset
        Parameters:
        folder - the folder value to set.
        Returns:
        the Dataset object itself.
      • objectApiName

        public Object objectApiName()
        Get the objectApiName property: The Salesforce Service Cloud object API name. Type: string (or Expression with resultType string).
        Returns:
        the objectApiName value.
      • withObjectApiName

        public SalesforceServiceCloudObjectDataset withObjectApiName​(Object objectApiName)
        Set the objectApiName property: The Salesforce Service Cloud object API name. Type: string (or Expression with resultType string).
        Parameters:
        objectApiName - the objectApiName value to set.
        Returns:
        the SalesforceServiceCloudObjectDataset object itself.