Class AvailableServiceAliasInner
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.AvailableServiceAliasInner
-
public final class AvailableServiceAliasInner extends Object
The available service alias.
-
-
Constructor Summary
Constructors Constructor Description AvailableServiceAliasInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringid()Get the id property: The ID of the service alias.Stringname()Get the name property: The name of the service alias.StringresourceName()Get the resourceName property: The resource name of the service alias.Stringtype()Get the type property: The type of the resource.voidvalidate()Validates the instance.AvailableServiceAliasInnerwithId(String id)Set the id property: The ID of the service alias.AvailableServiceAliasInnerwithName(String name)Set the name property: The name of the service alias.AvailableServiceAliasInnerwithResourceName(String resourceName)Set the resourceName property: The resource name of the service alias.AvailableServiceAliasInnerwithType(String type)Set the type property: The type of the resource.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the service alias.- Returns:
- the name value.
-
withName
public AvailableServiceAliasInner withName(String name)
Set the name property: The name of the service alias.- Parameters:
name- the name value to set.- Returns:
- the AvailableServiceAliasInner object itself.
-
id
public String id()
Get the id property: The ID of the service alias.- Returns:
- the id value.
-
withId
public AvailableServiceAliasInner withId(String id)
Set the id property: The ID of the service alias.- Parameters:
id- the id value to set.- Returns:
- the AvailableServiceAliasInner object itself.
-
type
public String type()
Get the type property: The type of the resource.- Returns:
- the type value.
-
withType
public AvailableServiceAliasInner withType(String type)
Set the type property: The type of the resource.- Parameters:
type- the type value to set.- Returns:
- the AvailableServiceAliasInner object itself.
-
resourceName
public String resourceName()
Get the resourceName property: The resource name of the service alias.- Returns:
- the resourceName value.
-
withResourceName
public AvailableServiceAliasInner withResourceName(String resourceName)
Set the resourceName property: The resource name of the service alias.- Parameters:
resourceName- the resourceName value to set.- Returns:
- the AvailableServiceAliasInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-