Class RoleResourceFormatInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.customerinsights.fluent.models.RoleResourceFormatInner
public final class RoleResourceFormatInner
extends com.azure.core.management.ProxyResource
The role resource format.
-
Constructor Summary
ConstructorDescriptionCreates an instance of RoleResourceFormatInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The description of the role.roleName()
Get the roleName property: The role name.void
validate()
Validates the instance.withDescription
(String description) Set the description property: The description of the role.withRoleName
(String roleName) Set the roleName property: The role name.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
RoleResourceFormatInner
public RoleResourceFormatInner()Creates an instance of RoleResourceFormatInner class.
-
-
Method Details
-
roleName
Get the roleName property: The role name.- Returns:
- the roleName value.
-
withRoleName
Set the roleName property: The role name.- Parameters:
roleName
- the roleName value to set.- Returns:
- the RoleResourceFormatInner object itself.
-
description
Get the description property: The description of the role.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the role.- Parameters:
description
- the description value to set.- Returns:
- the RoleResourceFormatInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-