BackendCollection Class

  • java.lang.Object
    • com.azure.resourcemanager.apimanagement.models.BackendCollection

public final class BackendCollection

Paged Backend list representation.

Constructor Summary

Constructor Description
BackendCollection()

Creates an instance of BackendCollection class.

Method Summary

Modifier and Type Method and Description
Long count()

Get the count property: Total record count number across all pages.

String nextLink()

Get the nextLink property: Next page link if any.

void validate()

Validates the instance.

List<BackendContractInner> value()

Get the value property: Backend values.

BackendCollection withCount(Long count)

Set the count property: Total record count number across all pages.

BackendCollection withNextLink(String nextLink)

Set the nextLink property: Next page link if any.

BackendCollection withValue(List<BackendContractInner> value)

Set the value property: Backend values.

Methods inherited from java.lang.Object

Constructor Details

BackendCollection

public BackendCollection()

Creates an instance of BackendCollection class.

Method Details

count

public Long count()

Get the count property: Total record count number across all pages.

Returns:

the count value.

nextLink

public String nextLink()

Get the nextLink property: Next page link if any.

Returns:

the nextLink value.

validate

public void validate()

Validates the instance.

value

public List value()

Get the value property: Backend values.

Returns:

the value value.

withCount

public BackendCollection withCount(Long count)

Set the count property: Total record count number across all pages.

Parameters:

count - the count value to set.

Returns:

the BackendCollection object itself.

withNextLink

public BackendCollection withNextLink(String nextLink)

Set the nextLink property: Next page link if any.

Parameters:

nextLink - the nextLink value to set.

Returns:

the BackendCollection object itself.

withValue

public BackendCollection withValue(List value)

Set the value property: Backend values.

Parameters:

value - the value value to set.

Returns:

the BackendCollection object itself.

Applies to