Class DomainResourceList
- java.lang.Object
-
- com.azure.resourcemanager.communication.models.DomainResourceList
-
public final class DomainResourceList extends Object
Object that includes an array of Domains resource and a possible link for next set.
-
-
Constructor Summary
Constructors Constructor Description DomainResourceList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
nextLink()
Get the nextLink property: The URL the client should use to fetch the next page (per server side paging).void
validate()
Validates the instance.List<DomainResourceInner>
value()
Get the value property: List of Domains resource.DomainResourceList
withNextLink(String nextLink)
Set the nextLink property: The URL the client should use to fetch the next page (per server side paging).DomainResourceList
withValue(List<DomainResourceInner> value)
Set the value property: List of Domains resource.
-
-
-
Method Detail
-
value
public List<DomainResourceInner> value()
Get the value property: List of Domains resource.- Returns:
- the value value.
-
withValue
public DomainResourceList withValue(List<DomainResourceInner> value)
Set the value property: List of Domains resource.- Parameters:
value
- the value value to set.- Returns:
- the DomainResourceList object itself.
-
nextLink
public String nextLink()
Get the nextLink property: The URL the client should use to fetch the next page (per server side paging). It's null for now, added for future use.- Returns:
- the nextLink value.
-
withNextLink
public DomainResourceList withNextLink(String nextLink)
Set the nextLink property: The URL the client should use to fetch the next page (per server side paging). It's null for now, added for future use.- Parameters:
nextLink
- the nextLink value to set.- Returns:
- the DomainResourceList object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-