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