AvailableDelegationInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.AvailableDelegationInner

Implements

public final class AvailableDelegationInner
implements JsonSerializable<AvailableDelegationInner>

The serviceName of an AvailableDelegation indicates a possible delegation for a subnet.

Constructor Summary

Constructor Description
AvailableDelegationInner()

Creates an instance of AvailableDelegationInner class.

Method Summary

Modifier and Type Method and Description
List<String> actions()

Get the actions property: The actions permitted to the service upon delegation.

static AvailableDelegationInner fromJson(JsonReader jsonReader)

Reads an instance of AvailableDelegationInner from the JsonReader.

String id()

Get the id property: A unique identifier of the AvailableDelegation resource.

String name()

Get the name property: The name of the AvailableDelegation resource.

String serviceName()

Get the serviceName property: The name of the service and resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

AvailableDelegationInner withActions(List<String> actions)

Set the actions property: The actions permitted to the service upon delegation.

AvailableDelegationInner withId(String id)

Set the id property: A unique identifier of the AvailableDelegation resource.

AvailableDelegationInner withName(String name)

Set the name property: The name of the AvailableDelegation resource.

AvailableDelegationInner withServiceName(String serviceName)

Set the serviceName property: The name of the service and resource.

AvailableDelegationInner withType(String type)

Set the type property: Resource type.

Methods inherited from java.lang.Object

Constructor Details

AvailableDelegationInner

public AvailableDelegationInner()

Creates an instance of AvailableDelegationInner class.

Method Details

actions

public List actions()

Get the actions property: The actions permitted to the service upon delegation.

Returns:

the actions value.

fromJson

public static AvailableDelegationInner fromJson(JsonReader jsonReader)

Reads an instance of AvailableDelegationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AvailableDelegationInner 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 AvailableDelegationInner.

id

public String id()

Get the id property: A unique identifier of the AvailableDelegation resource.

Returns:

the id value.

name

public String name()

Get the name property: The name of the AvailableDelegation resource.

Returns:

the name value.

serviceName

public String serviceName()

Get the serviceName property: The name of the service and resource.

Returns:

the serviceName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withActions

public AvailableDelegationInner withActions(List actions)

Set the actions property: The actions permitted to the service upon delegation.

Parameters:

actions - the actions value to set.

Returns:

the AvailableDelegationInner object itself.

withId

public AvailableDelegationInner withId(String id)

Set the id property: A unique identifier of the AvailableDelegation resource.

Parameters:

id - the id value to set.

Returns:

the AvailableDelegationInner object itself.

withName

public AvailableDelegationInner withName(String name)

Set the name property: The name of the AvailableDelegation resource.

Parameters:

name - the name value to set.

Returns:

the AvailableDelegationInner object itself.

withServiceName

public AvailableDelegationInner withServiceName(String serviceName)

Set the serviceName property: The name of the service and resource.

Parameters:

serviceName - the serviceName value to set.

Returns:

the AvailableDelegationInner object itself.

withType

public AvailableDelegationInner withType(String type)

Set the type property: Resource type.

Parameters:

type - the type value to set.

Returns:

the AvailableDelegationInner object itself.

Applies to