DetailLevel.Builder Class
- java.
lang. Object - com.
microsoft. azure. batch. DetailLevel. Builder
- com.
public class Builder
The builder class to initiate a DetailLevel instance.
Constructor Summary
Constructor | Description |
---|---|
Builder() |
Initializes a new instance of the Builder class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Detail |
build()
Create a DetailLevel class instance. |
Builder |
withExpandClause(String expand)
Sets the OData expand clause. Used to retrieve associated entities of the main entity being retrieved. |
Builder |
withFilterClause(String filter)
Sets the OData filter clause. Used to restrict a list operation to items that match specified criteria. |
Builder |
withSelectClause(String select)
Sets the OData select clause. Used to retrieve only specific properties instead of all object properties. |
Constructor Details
Builder
public Builder()
Initializes a new instance of the Builder class.
Method Details
build
public DetailLevel build()
Create a DetailLevel class instance.
Returns:
withExpandClause
public Builder withExpandClause(String expand)
Sets the OData expand clause. Used to retrieve associated entities of the main entity being retrieved.
Parameters:
Returns:
withFilterClause
public Builder withFilterClause(String filter)
Sets the OData filter clause. Used to restrict a list operation to items that match specified criteria.
Parameters:
Returns:
withSelectClause
public Builder withSelectClause(String select)
Sets the OData select clause. Used to retrieve only specific properties instead of all object properties.
Parameters:
Returns: