Share via


DetailLevel.Builder Class

  • java.lang.Object
    • com.microsoft.azure.batch.DetailLevel.Builder

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
DetailLevel 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:

A DetailLevel instance.

withExpandClause

public Builder withExpandClause(String expand)

Sets the OData expand clause. Used to retrieve associated entities of the main entity being retrieved.

Parameters:

expand - The expand clause.

Returns:

The Builder instance.

withFilterClause

public Builder withFilterClause(String filter)

Sets the OData filter clause. Used to restrict a list operation to items that match specified criteria.

Parameters:

filter - The filter clause.

Returns:

The Builder instance.

withSelectClause

public Builder withSelectClause(String select)

Sets the OData select clause. Used to retrieve only specific properties instead of all object properties.

Parameters:

select - The select clause.

Returns:

The Builder instance.

Applies to