Class AvailableDelegationInner
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.AvailableDelegationInner
-
public final class AvailableDelegationInner extends Object
The serviceName of an AvailableDelegation indicates a possible delegation for a subnet.
-
-
Constructor Summary
Constructors Constructor Description AvailableDelegationInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>actions()Get the actions property: The actions permitted to the service upon delegation.Stringid()Get the id property: A unique identifier of the AvailableDelegation resource.Stringname()Get the name property: The name of the AvailableDelegation resource.StringserviceName()Get the serviceName property: The name of the service and resource.Stringtype()Get the type property: Resource type.voidvalidate()Validates the instance.AvailableDelegationInnerwithActions(List<String> actions)Set the actions property: The actions permitted to the service upon delegation.AvailableDelegationInnerwithId(String id)Set the id property: A unique identifier of the AvailableDelegation resource.AvailableDelegationInnerwithName(String name)Set the name property: The name of the AvailableDelegation resource.AvailableDelegationInnerwithServiceName(String serviceName)Set the serviceName property: The name of the service and resource.AvailableDelegationInnerwithType(String type)Set the type property: Resource type.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the AvailableDelegation resource.- Returns:
- the name value.
-
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.
-
id
public String id()
Get the id property: A unique identifier of the AvailableDelegation resource.- Returns:
- the id value.
-
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.
-
type
public String type()
Get the type property: Resource type.- Returns:
- the type value.
-
withType
public AvailableDelegationInner withType(String type)
Set the type property: Resource type.- Parameters:
type- the type value to set.- Returns:
- the AvailableDelegationInner object itself.
-
serviceName
public String serviceName()
Get the serviceName property: The name of the service and resource.- Returns:
- the serviceName value.
-
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.
-
actions
public List<String> actions()
Get the actions property: The actions permitted to the service upon delegation.- Returns:
- the actions value.
-
withActions
public AvailableDelegationInner withActions(List<String> 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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-