Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.graphrbac;
import com.fasterxml.jackson.annotation.JsonProperty;
Role Definitions filter.
/**
* Role Definitions filter.
*/
public class RoleDefinitionFilter {
Returns role definition with the specific name.
/**
* Returns role definition with the specific name.
*/
@JsonProperty(value = "roleName")
private String roleName;
Returns role definition with the specific type.
/**
* Returns role definition with the specific type.
*/
@JsonProperty(value = "type")
private String type;
Get the roleName value.
Returns: the roleName value
/**
* Get the roleName value.
*
* @return the roleName value
*/
public String roleName() {
return this.roleName;
}
Set the roleName value.
Params: - roleName – the roleName value to set
Returns: the RoleDefinitionFilter object itself.
/**
* Set the roleName value.
*
* @param roleName the roleName value to set
* @return the RoleDefinitionFilter object itself.
*/
public RoleDefinitionFilter withRoleName(String roleName) {
this.roleName = roleName;
return this;
}
Get the type value.
Returns: the type value
/**
* Get the type value.
*
* @return the type value
*/
public String type() {
return this.type;
}
Set the type value.
Params: - type – the type value to set
Returns: the RoleDefinitionFilter object itself.
/**
* Set the type value.
*
* @param type the type value to set
* @return the RoleDefinitionFilter object itself.
*/
public RoleDefinitionFilter withType(String type) {
this.type = type;
return this;
}
}