Class ResourceType
- java.lang.Object
-
- com.azure.resourcemanager.authorization.models.ResourceType
-
public final class ResourceType extends Object
Resource Type.
-
-
Constructor Summary
Constructors Constructor Description ResourceType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdisplayName()Get the displayName property: The resource type display name.Stringname()Get the name property: The resource type name.List<ProviderOperation>operations()Get the operations property: The resource type operations.voidvalidate()Validates the instance.ResourceTypewithDisplayName(String displayName)Set the displayName property: The resource type display name.ResourceTypewithName(String name)Set the name property: The resource type name.ResourceTypewithOperations(List<ProviderOperation> operations)Set the operations property: The resource type operations.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The resource type name.- Returns:
- the name value.
-
withName
public ResourceType withName(String name)
Set the name property: The resource type name.- Parameters:
name- the name value to set.- Returns:
- the ResourceType object itself.
-
displayName
public String displayName()
Get the displayName property: The resource type display name.- Returns:
- the displayName value.
-
withDisplayName
public ResourceType withDisplayName(String displayName)
Set the displayName property: The resource type display name.- Parameters:
displayName- the displayName value to set.- Returns:
- the ResourceType object itself.
-
operations
public List<ProviderOperation> operations()
Get the operations property: The resource type operations.- Returns:
- the operations value.
-
withOperations
public ResourceType withOperations(List<ProviderOperation> operations)
Set the operations property: The resource type operations.- Parameters:
operations- the operations value to set.- Returns:
- the ResourceType object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-