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 java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
Resource Type.
/**
* Resource Type.
*/
public class ResourceType {
The resource type name.
/**
* The resource type name.
*/
@JsonProperty(value = "name")
private String name;
The resource type display name.
/**
* The resource type display name.
*/
@JsonProperty(value = "displayName")
private String displayName;
The resource type operations.
/**
* The resource type operations.
*/
@JsonProperty(value = "operations")
private List<ProviderOperation> operations;
Get the name value.
Returns: the name value
/**
* Get the name value.
*
* @return the name value
*/
public String name() {
return this.name;
}
Set the name value.
Params: - name – the name value to set
Returns: the ResourceType object itself.
/**
* Set the name value.
*
* @param name the name value to set
* @return the ResourceType object itself.
*/
public ResourceType withName(String name) {
this.name = name;
return this;
}
Get the displayName value.
Returns: the displayName value
/**
* Get the displayName value.
*
* @return the displayName value
*/
public String displayName() {
return this.displayName;
}
Set the displayName value.
Params: - displayName – the displayName value to set
Returns: the ResourceType object itself.
/**
* Set the displayName value.
*
* @param displayName the displayName value to set
* @return the ResourceType object itself.
*/
public ResourceType withDisplayName(String displayName) {
this.displayName = displayName;
return this;
}
Get the operations value.
Returns: the operations value
/**
* Get the operations value.
*
* @return the operations value
*/
public List<ProviderOperation> operations() {
return this.operations;
}
Set the operations value.
Params: - operations – the operations value to set
Returns: the ResourceType object itself.
/**
* Set the operations value.
*
* @param operations the operations value to set
* @return the ResourceType object itself.
*/
public ResourceType withOperations(List<ProviderOperation> operations) {
this.operations = operations;
return this;
}
}