public final class AvailableServiceAliasInner extends Object
| Constructor and Description |
|---|
AvailableServiceAliasInner() |
| Modifier and Type | Method and Description |
|---|---|
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 resourceName property: The resource name of the service alias.
|
String |
type()
Get the type property: The type of the resource.
|
void |
validate()
Validates the instance.
|
AvailableServiceAliasInner |
withId(String id)
Set the id property: The ID of the service alias.
|
AvailableServiceAliasInner |
withName(String name)
Set the name property: The name of the service alias.
|
AvailableServiceAliasInner |
withResourceName(String resourceName)
Set the resourceName property: The resource name of the service alias.
|
AvailableServiceAliasInner |
withType(String type)
Set the type property: The type of the resource.
|
public String name()
public AvailableServiceAliasInner withName(String name)
name - the name value to set.public String id()
public AvailableServiceAliasInner withId(String id)
id - the id value to set.public String type()
public AvailableServiceAliasInner withType(String type)
type - the type value to set.public String resourceName()
public AvailableServiceAliasInner withResourceName(String resourceName)
resourceName - the resourceName value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.