AvailableDelegationInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. AvailableDelegationInner
- com.
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 Available |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
actions()
Get the actions property: The actions permitted to the service upon delegation. |
static
Available |
fromJson(JsonReader jsonReader)
Reads an instance of Available |
String |
id()
Get the id property: A unique identifier of the Available |
String |
name()
Get the name property: The name of the Available |
String |
serviceName()
Get the service |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Resource type. |
void |
validate()
Validates the instance. |
Available |
withActions(List<String> actions)
Set the actions property: The actions permitted to the service upon delegation. |
Available |
withId(String id)
Set the id property: A unique identifier of the Available |
Available |
withName(String name)
Set the name property: The name of the Available |
Available |
withServiceName(String serviceName)
Set the service |
Available |
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
Get the actions property: The actions permitted to the service upon delegation.
Returns:
fromJson
public static AvailableDelegationInner fromJson(JsonReader jsonReader)
Reads an instance of AvailableDelegationInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: A unique identifier of the AvailableDelegation resource.
Returns:
name
public String name()
Get the name property: The name of the AvailableDelegation resource.
Returns:
serviceName
public String serviceName()
Get the serviceName property: The name of the service and resource.
Returns:
toJson
type
public String type()
Get the type property: Resource type.
Returns:
validate
public void validate()
Validates the instance.
withActions
public AvailableDelegationInner withActions(List
Set the actions property: The actions permitted to the service upon delegation.
Parameters:
Returns:
withId
public AvailableDelegationInner withId(String id)
Set the id property: A unique identifier of the AvailableDelegation resource.
Parameters:
Returns:
withName
public AvailableDelegationInner withName(String name)
Set the name property: The name of the AvailableDelegation resource.
Parameters:
Returns:
withServiceName
public AvailableDelegationInner withServiceName(String serviceName)
Set the serviceName property: The name of the service and resource.
Parameters:
Returns:
withType
public AvailableDelegationInner withType(String type)
Set the type property: Resource type.
Parameters:
Returns:
Applies to
Azure SDK for Java