次の方法で共有


EventSubscriptionsListResult Class

  • java.lang.Object
    • com.azure.resourcemanager.eventgrid.models.EventSubscriptionsListResult

Implements

public final class EventSubscriptionsListResult
implements JsonSerializable<EventSubscriptionsListResult>

Result of the List EventSubscriptions operation.

Constructor Summary

Constructor Description
EventSubscriptionsListResult()

Creates an instance of EventSubscriptionsListResult class.

Method Summary

Modifier and Type Method and Description
static EventSubscriptionsListResult fromJson(JsonReader jsonReader)

Reads an instance of EventSubscriptionsListResult from the JsonReader.

String nextLink()

Get the nextLink property: A link for the next page of event subscriptions.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<EventSubscriptionInner> value()

Get the value property: A collection of EventSubscriptions.

EventSubscriptionsListResult withNextLink(String nextLink)

Set the nextLink property: A link for the next page of event subscriptions.

EventSubscriptionsListResult withValue(List<EventSubscriptionInner> value)

Set the value property: A collection of EventSubscriptions.

Methods inherited from java.lang.Object

Constructor Details

EventSubscriptionsListResult

public EventSubscriptionsListResult()

Creates an instance of EventSubscriptionsListResult class.

Method Details

fromJson

public static EventSubscriptionsListResult fromJson(JsonReader jsonReader)

Reads an instance of EventSubscriptionsListResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of EventSubscriptionsListResult if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the EventSubscriptionsListResult.

nextLink

public String nextLink()

Get the nextLink property: A link for the next page of event subscriptions.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<EventSubscriptionInner> value()

Get the value property: A collection of EventSubscriptions.

Returns:

the value value.

withNextLink

public EventSubscriptionsListResult withNextLink(String nextLink)

Set the nextLink property: A link for the next page of event subscriptions.

Parameters:

nextLink - the nextLink value to set.

Returns:

the EventSubscriptionsListResult object itself.

withValue

public EventSubscriptionsListResult withValue(List<EventSubscriptionInner> value)

Set the value property: A collection of EventSubscriptions.

Parameters:

value - the value value to set.

Returns:

the EventSubscriptionsListResult object itself.

Applies to