AvailableServiceAliasInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. AvailableServiceAliasInner
- com.
Implements
public final class AvailableServiceAliasInner
implements JsonSerializable<AvailableServiceAliasInner>
The available service alias.
Constructor Summary
Constructor | Description |
---|---|
AvailableServiceAliasInner() |
Creates an instance of Available |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Available |
fromJson(JsonReader jsonReader)
Reads an instance of Available |
String |
id()
Get the id property: The ID of the service alias. |
String |
name()
Get the name property: The name of the service alias. |
String |
resourceName()
Get the resource |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Available |
withId(String id)
Set the id property: The ID of the service alias. |
Available |
withName(String name)
Set the name property: The name of the service alias. |
Available |
withResourceName(String resourceName)
Set the resource |
Available |
withType(String type)
Set the type property: The type of the resource. |
Methods inherited from java.lang.Object
Constructor Details
AvailableServiceAliasInner
public AvailableServiceAliasInner()
Creates an instance of AvailableServiceAliasInner class.
Method Details
fromJson
public static AvailableServiceAliasInner fromJson(JsonReader jsonReader)
Reads an instance of AvailableServiceAliasInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The ID of the service alias.
Returns:
name
public String name()
Get the name property: The name of the service alias.
Returns:
resourceName
public String resourceName()
Get the resourceName property: The resource name of the service alias.
Returns:
toJson
type
public String type()
Get the type property: The type of the resource.
Returns:
validate
public void validate()
Validates the instance.
withId
public AvailableServiceAliasInner withId(String id)
Set the id property: The ID of the service alias.
Parameters:
Returns:
withName
public AvailableServiceAliasInner withName(String name)
Set the name property: The name of the service alias.
Parameters:
Returns:
withResourceName
public AvailableServiceAliasInner withResourceName(String resourceName)
Set the resourceName property: The resource name of the service alias.
Parameters:
Returns:
withType
public AvailableServiceAliasInner withType(String type)
Set the type property: The type of the resource.
Parameters:
Returns:
Applies to
Azure SDK for Java