RoleInstanceListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.RoleInstanceListResult

public final class RoleInstanceListResult

The list operation result.

Constructor Summary

Constructor Description
RoleInstanceListResult()

Creates an instance of RoleInstanceListResult class.

Method Summary

Modifier and Type Method and Description
String nextLink()

Get the nextLink property: The URI to fetch the next page of resources.

void validate()

Validates the instance.

List<RoleInstanceInner> value()

Get the value property: The list of resources.

RoleInstanceListResult withNextLink(String nextLink)

Set the nextLink property: The URI to fetch the next page of resources.

RoleInstanceListResult withValue(List<RoleInstanceInner> value)

Set the value property: The list of resources.

Methods inherited from java.lang.Object

Constructor Details

RoleInstanceListResult

public RoleInstanceListResult()

Creates an instance of RoleInstanceListResult class.

Method Details

nextLink

public String nextLink()

Get the nextLink property: The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.

Returns:

the nextLink value.

validate

public void validate()

Validates the instance.

value

public List value()

Get the value property: The list of resources.

Returns:

the value value.

withNextLink

public RoleInstanceListResult withNextLink(String nextLink)

Set the nextLink property: The URI to fetch the next page of resources. Use this to get the next page of resources. Do this till nextLink is null to fetch all the resources.

Parameters:

nextLink - the nextLink value to set.

Returns:

the RoleInstanceListResult object itself.

withValue

public RoleInstanceListResult withValue(List value)

Set the value property: The list of resources.

Parameters:

value - the value value to set.

Returns:

the RoleInstanceListResult object itself.

Applies to