Class GatewayCollection
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.GatewayCollection
-
public final class GatewayCollection extends Object
Paged Gateway list representation.
-
-
Constructor Summary
Constructors Constructor Description GatewayCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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<GatewayContractInner>
value()
Get the value property: Page values.GatewayCollection
withCount(Long count)
Set the count property: Total record count number across all pages.
-
-
-
Method Detail
-
value
public List<GatewayContractInner> value()
Get the value property: Page values.- Returns:
- the value value.
-
count
public Long count()
Get the count property: Total record count number across all pages.- Returns:
- the count value.
-
withCount
public GatewayCollection withCount(Long count)
Set the count property: Total record count number across all pages.- Parameters:
count
- the count value to set.- Returns:
- the GatewayCollection object itself.
-
nextLink
public String nextLink()
Get the nextLink property: Next page link if any.- Returns:
- the nextLink value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-