public final class ResourceType extends Object
| Constructor and Description |
|---|
ResourceType() |
| Modifier and Type | Method and Description |
|---|---|
String |
displayName()
Get the displayName property: The resource type display name.
|
String |
name()
Get the name property: The resource type name.
|
List<ProviderOperation> |
operations()
Get the operations property: The resource type operations.
|
void |
validate()
Validates the instance.
|
ResourceType |
withDisplayName(String displayName)
Set the displayName property: The resource type display name.
|
ResourceType |
withName(String name)
Set the name property: The resource type name.
|
ResourceType |
withOperations(List<ProviderOperation> operations)
Set the operations property: The resource type operations.
|
public String name()
public ResourceType withName(String name)
name - the name value to set.public String displayName()
public ResourceType withDisplayName(String displayName)
displayName - the displayName value to set.public List<ProviderOperation> operations()
public ResourceType withOperations(List<ProviderOperation> operations)
operations - the operations value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.