Class StorageTargetsResult
- java.lang.Object
-
- com.azure.resourcemanager.storagecache.models.StorageTargetsResult
-
public final class StorageTargetsResult extends Object
A list of Storage Targets.
-
-
Constructor Summary
Constructors Constructor Description StorageTargetsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
nextLink()
Get the nextLink property: The URI to fetch the next page of Storage Targets.void
validate()
Validates the instance.List<StorageTargetInner>
value()
Get the value property: The list of Storage Targets defined for the Cache.StorageTargetsResult
withNextLink(String nextLink)
Set the nextLink property: The URI to fetch the next page of Storage Targets.StorageTargetsResult
withValue(List<StorageTargetInner> value)
Set the value property: The list of Storage Targets defined for the Cache.
-
-
-
Method Detail
-
nextLink
public String nextLink()
Get the nextLink property: The URI to fetch the next page of Storage Targets.- Returns:
- the nextLink value.
-
withNextLink
public StorageTargetsResult withNextLink(String nextLink)
Set the nextLink property: The URI to fetch the next page of Storage Targets.- Parameters:
nextLink
- the nextLink value to set.- Returns:
- the StorageTargetsResult object itself.
-
value
public List<StorageTargetInner> value()
Get the value property: The list of Storage Targets defined for the Cache.- Returns:
- the value value.
-
withValue
public StorageTargetsResult withValue(List<StorageTargetInner> value)
Set the value property: The list of Storage Targets defined for the Cache.- Parameters:
value
- the value value to set.- Returns:
- the StorageTargetsResult object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-