ResourceTypeAliases Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. ResourceTypeAliases
- com.
Implements
public final class ResourceTypeAliases
implements JsonSerializable<ResourceTypeAliases>
The resource type aliases definition.
Constructor Summary
Constructor | Description |
---|---|
ResourceTypeAliases() |
Creates an instance of Resource |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Alias> |
aliases()
Get the aliases property: The aliases for property names. |
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
String |
resourceType()
Get the resource |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Resource |
withAliases(List<Alias> aliases)
Set the aliases property: The aliases for property names. |
Resource |
withResourceType(String resourceType)
Set the resource |
Methods inherited from java.lang.Object
Constructor Details
ResourceTypeAliases
public ResourceTypeAliases()
Creates an instance of ResourceTypeAliases class.
Method Details
aliases
public List
Get the aliases property: The aliases for property names.
Returns:
fromJson
public static ResourceTypeAliases fromJson(JsonReader jsonReader)
Reads an instance of ResourceTypeAliases from the JsonReader.
Parameters:
Returns:
Throws:
resourceType
public String resourceType()
Get the resourceType property: The resource type name.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAliases
public ResourceTypeAliases withAliases(List
Set the aliases property: The aliases for property names.
Parameters:
Returns:
withResourceType
public ResourceTypeAliases withResourceType(String resourceType)
Set the resourceType property: The resource type name.
Parameters:
Returns:
Applies to
Azure SDK for Java