CacheCollection Class

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

public final class CacheCollection

Paged Caches list representation.

Constructor Summary

Constructor Description
CacheCollection()

Creates an instance of CacheCollection 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<CacheContractInner> value()

Get the value property: Page values.

CacheCollection withCount(Long count)

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

CacheCollection withNextLink(String nextLink)

Set the nextLink property: Next page link if any.

CacheCollection withValue(List<CacheContractInner> value)

Set the value property: Page values.

Methods inherited from java.lang.Object

Constructor Details

CacheCollection

public CacheCollection()

Creates an instance of CacheCollection 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: Page values.

Returns:

the value value.

withCount

public CacheCollection withCount(Long count)

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

Parameters:

count - the count value to set.

Returns:

the CacheCollection object itself.

withNextLink

public CacheCollection withNextLink(String nextLink)

Set the nextLink property: Next page link if any.

Parameters:

nextLink - the nextLink value to set.

Returns:

the CacheCollection object itself.

withValue

public CacheCollection withValue(List value)

Set the value property: Page values.

Parameters:

value - the value value to set.

Returns:

the CacheCollection object itself.

Applies to