次の方法で共有


DetailLevel.Builder Class

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

public static class DetailLevel.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.

Builder withFilterClause(String filter)

Sets the OData filter clause.

Builder withSelectClause(String select)

Sets the OData select clause.

Methods inherited from java.lang.Object

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