public final class RestResourceDataset extends Dataset
| Constructor and Description |
|---|
RestResourceDataset() |
| Modifier and Type | Method and Description |
|---|---|
Object |
additionalHeaders()
Get the additionalHeaders property: The additional HTTP headers in the request to the RESTful API.
|
Object |
paginationRules()
Get the paginationRules property: The pagination rules to compose next page requests.
|
Object |
relativeUrl()
Get the relativeUrl property: The relative URL to the resource that the RESTful API provides.
|
Object |
requestBody()
Get the requestBody property: The HTTP request body to the RESTful API if requestMethod is POST.
|
Object |
requestMethod()
Get the requestMethod property: The HTTP method used to call the RESTful API.
|
void |
validate()
Validates the instance.
|
RestResourceDataset |
withAdditionalHeaders(Object additionalHeaders)
Set the additionalHeaders property: The additional HTTP headers in the request to the RESTful API.
|
RestResourceDataset |
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the Dataset.
|
RestResourceDataset |
withDescription(String description)
Set the description property: Dataset description.
|
RestResourceDataset |
withFolder(DatasetFolder folder)
Set the folder property: The folder that this Dataset is in.
|
RestResourceDataset |
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.
|
RestResourceDataset |
withPaginationRules(Object paginationRules)
Set the paginationRules property: The pagination rules to compose next page requests.
|
RestResourceDataset |
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for dataset.
|
RestResourceDataset |
withRelativeUrl(Object relativeUrl)
Set the relativeUrl property: The relative URL to the resource that the RESTful API provides.
|
RestResourceDataset |
withRequestBody(Object requestBody)
Set the requestBody property: The HTTP request body to the RESTful API if requestMethod is POST.
|
RestResourceDataset |
withRequestMethod(Object requestMethod)
Set the requestMethod property: The HTTP method used to call the RESTful API.
|
RestResourceDataset |
withSchema(Object schema)
Set the schema property: Columns that define the physical type schema of the dataset.
|
RestResourceDataset |
withStructure(Object structure)
Set the structure property: Columns that define the structure of the dataset.
|
additionalProperties, annotations, description, folder, linkedServiceName, parameters, schema, structure, withAdditionalPropertiespublic RestResourceDataset withDescription(String description)
withDescription in class Datasetdescription - the description value to set.public RestResourceDataset withStructure(Object structure)
withStructure in class Datasetstructure - the structure value to set.public RestResourceDataset withSchema(Object schema)
withSchema in class Datasetschema - the schema value to set.public RestResourceDataset withLinkedServiceName(LinkedServiceReference linkedServiceName)
withLinkedServiceName in class DatasetlinkedServiceName - the linkedServiceName value to set.public RestResourceDataset withParameters(Map<String,ParameterSpecification> parameters)
withParameters in class Datasetparameters - the parameters value to set.public RestResourceDataset withAnnotations(List<Object> annotations)
withAnnotations in class Datasetannotations - the annotations value to set.public RestResourceDataset withFolder(DatasetFolder folder)
withFolder in class Datasetfolder - the folder value to set.public Object relativeUrl()
public RestResourceDataset withRelativeUrl(Object relativeUrl)
relativeUrl - the relativeUrl value to set.public Object requestMethod()
public RestResourceDataset withRequestMethod(Object requestMethod)
requestMethod - the requestMethod value to set.public Object requestBody()
public RestResourceDataset withRequestBody(Object requestBody)
requestBody - the requestBody value to set.public Object additionalHeaders()
public RestResourceDataset withAdditionalHeaders(Object additionalHeaders)
additionalHeaders - the additionalHeaders value to set.public Object paginationRules()
public RestResourceDataset withPaginationRules(Object paginationRules)
paginationRules - the paginationRules value to set.public void validate()
validate in class DatasetIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.