RoleManagementPolicyInner Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. RoleManagementPolicyInner
- com.
Implements
public final class RoleManagementPolicyInner
implements JsonSerializable<RoleManagementPolicyInner>
Role management policy.
Constructor Summary
Constructor | Description |
---|---|
RoleManagementPolicyInner() |
Creates an instance of Role |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: The role management policy description. |
String |
displayName()
Get the display |
List<Role |
effectiveRules()
Get the effective |
static
Role |
fromJson(JsonReader jsonReader)
Reads an instance of Role |
String |
id()
Get the id property: The role management policy Id. |
Boolean |
isOrganizationDefault()
Get the is |
Principal |
lastModifiedBy()
Get the last |
Offset |
lastModifiedDateTime()
Get the last |
String |
name()
Get the name property: The role management policy name. |
Policy |
policyProperties()
Get the policy |
List<Role |
rules()
Get the rules property: The rule applied to the policy. |
String |
scope()
Get the scope property: The role management policy scope. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The role management policy type. |
void |
validate()
Validates the instance. |
Role |
withDescription(String description)
Set the description property: The role management policy description. |
Role |
withDisplayName(String displayName)
Set the display |
Role |
withIsOrganizationDefault(Boolean isOrganizationDefault)
Set the is |
Role |
withRules(List<RoleManagementPolicyRule> rules)
Set the rules property: The rule applied to the policy. |
Role |
withScope(String scope)
Set the scope property: The role management policy scope. |
Methods inherited from java.lang.Object
Constructor Details
RoleManagementPolicyInner
public RoleManagementPolicyInner()
Creates an instance of RoleManagementPolicyInner class.
Method Details
description
public String description()
Get the description property: The role management policy description.
Returns:
displayName
public String displayName()
Get the displayName property: The role management policy display name.
Returns:
effectiveRules
public List
Get the effectiveRules property: The readonly computed rule applied to the policy.
Returns:
fromJson
public static RoleManagementPolicyInner fromJson(JsonReader jsonReader)
Reads an instance of RoleManagementPolicyInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The role management policy Id.
Returns:
isOrganizationDefault
public Boolean isOrganizationDefault()
Get the isOrganizationDefault property: The role management policy is default policy.
Returns:
lastModifiedBy
public Principal lastModifiedBy()
Get the lastModifiedBy property: The name of the entity last modified it.
Returns:
lastModifiedDateTime
public OffsetDateTime lastModifiedDateTime()
Get the lastModifiedDateTime property: The last modified date time.
Returns:
name
public String name()
Get the name property: The role management policy name.
Returns:
policyProperties
public PolicyProperties policyProperties()
Get the policyProperties property: Additional properties of scope.
Returns:
rules
public List
Get the rules property: The rule applied to the policy.
Returns:
scope
public String scope()
Get the scope property: The role management policy scope.
Returns:
toJson
type
public String type()
Get the type property: The role management policy type.
Returns:
validate
public void validate()
Validates the instance.
withDescription
public RoleManagementPolicyInner withDescription(String description)
Set the description property: The role management policy description.
Parameters:
Returns:
withDisplayName
public RoleManagementPolicyInner withDisplayName(String displayName)
Set the displayName property: The role management policy display name.
Parameters:
Returns:
withIsOrganizationDefault
public RoleManagementPolicyInner withIsOrganizationDefault(Boolean isOrganizationDefault)
Set the isOrganizationDefault property: The role management policy is default policy.
Parameters:
Returns:
withRules
public RoleManagementPolicyInner withRules(List
Set the rules property: The rule applied to the policy.
Parameters:
Returns:
withScope
public RoleManagementPolicyInner withScope(String scope)
Set the scope property: The role management policy scope.
Parameters:
Returns:
Applies to
Azure SDK for Java