ResourceType Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.models.ResourceType

public final class ResourceType

Resource Type.

Constructor Summary

Constructor Description
ResourceType()

Creates an instance of ResourceType class.

Method Summary

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.

Methods inherited from java.lang.Object

Constructor Details

ResourceType

public ResourceType()

Creates an instance of ResourceType class.

Method Details

displayName

public String displayName()

Get the displayName property: The resource type display name.

Returns:

the displayName value.

name

public String name()

Get the name property: The resource type name.

Returns:

the name value.

operations

public List operations()

Get the operations property: The resource type operations.

Returns:

the operations value.

validate

public void validate()

Validates the instance.

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.

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.

withOperations

public ResourceType withOperations(List operations)

Set the operations property: The resource type operations.

Parameters:

operations - the operations value to set.

Returns:

the ResourceType object itself.

Applies to