Class ServiceDelegationPropertiesFormat
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.ServiceDelegationPropertiesFormat
-
public final class ServiceDelegationPropertiesFormat extends Object
Properties of a service delegation.
-
-
Constructor Summary
Constructors Constructor Description ServiceDelegationPropertiesFormat()
-
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.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the service delegation resource.StringserviceName()Get the serviceName property: The name of the service to whom the subnet should be delegated (e.g.voidvalidate()Validates the instance.ServiceDelegationPropertiesFormatwithServiceName(String serviceName)Set the serviceName property: The name of the service to whom the subnet should be delegated (e.g.
-
-
-
Method Detail
-
serviceName
public String serviceName()
Get the serviceName property: The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).- Returns:
- the serviceName value.
-
withServiceName
public ServiceDelegationPropertiesFormat withServiceName(String serviceName)
Set the serviceName property: The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers).- Parameters:
serviceName- the serviceName value to set.- Returns:
- the ServiceDelegationPropertiesFormat object itself.
-
actions
public List<String> actions()
Get the actions property: The actions permitted to the service upon delegation.- Returns:
- the actions value.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the service delegation resource.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-