Class EnergyServiceList
- java.lang.Object
-
- com.azure.resourcemanager.oep.models.EnergyServiceList
-
public final class EnergyServiceList extends Object
The list of oep resources.
-
-
Constructor Summary
Constructors Constructor Description EnergyServiceList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
nextLink()
Get the nextLink property: The link used to get the next page of oep resources list.void
validate()
Validates the instance.List<EnergyServiceInner>
value()
Get the value property: The list of oep resources.EnergyServiceList
withNextLink(String nextLink)
Set the nextLink property: The link used to get the next page of oep resources list.EnergyServiceList
withValue(List<EnergyServiceInner> value)
Set the value property: The list of oep resources.
-
-
-
Method Detail
-
nextLink
public String nextLink()
Get the nextLink property: The link used to get the next page of oep resources list.- Returns:
- the nextLink value.
-
withNextLink
public EnergyServiceList withNextLink(String nextLink)
Set the nextLink property: The link used to get the next page of oep resources list.- Parameters:
nextLink
- the nextLink value to set.- Returns:
- the EnergyServiceList object itself.
-
value
public List<EnergyServiceInner> value()
Get the value property: The list of oep resources.- Returns:
- the value value.
-
withValue
public EnergyServiceList withValue(List<EnergyServiceInner> value)
Set the value property: The list of oep resources.- Parameters:
value
- the value value to set.- Returns:
- the EnergyServiceList object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-