ResourceProviderOperationDisplay Class
- java.
lang. Object - com.
azure. resourcemanager. confidentialledger. models. ResourceProviderOperationDisplay
- com.
Implements
public final class ResourceProviderOperationDisplay
implements JsonSerializable<ResourceProviderOperationDisplay>
Describes the properties of the Operation.
Constructor Summary
Constructor | Description |
---|---|
ResourceProviderOperationDisplay() |
Creates an instance of Resource |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: Description of the resource provider operation. |
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
String |
operation()
Get the operation property: Name of the resource provider operation. |
String |
provider()
Get the provider property: Name of the resource provider. |
String |
resource()
Get the resource property: Name of the resource type. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Resource |
withDescription(String description)
Set the description property: Description of the resource provider operation. |
Resource |
withOperation(String operation)
Set the operation property: Name of the resource provider operation. |
Resource |
withProvider(String provider)
Set the provider property: Name of the resource provider. |
Resource |
withResource(String resource)
Set the resource property: Name of the resource type. |
Methods inherited from java.lang.Object
Constructor Details
ResourceProviderOperationDisplay
public ResourceProviderOperationDisplay()
Creates an instance of ResourceProviderOperationDisplay class.
Method Details
description
public String description()
Get the description property: Description of the resource provider operation.
Returns:
fromJson
public static ResourceProviderOperationDisplay fromJson(JsonReader jsonReader)
Reads an instance of ResourceProviderOperationDisplay from the JsonReader.
Parameters:
Returns:
Throws:
operation
public String operation()
Get the operation property: Name of the resource provider operation.
Returns:
provider
public String provider()
Get the provider property: Name of the resource provider.
Returns:
resource
public String resource()
Get the resource property: Name of the resource type.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public ResourceProviderOperationDisplay withDescription(String description)
Set the description property: Description of the resource provider operation.
Parameters:
Returns:
withOperation
public ResourceProviderOperationDisplay withOperation(String operation)
Set the operation property: Name of the resource provider operation.
Parameters:
Returns:
withProvider
public ResourceProviderOperationDisplay withProvider(String provider)
Set the provider property: Name of the resource provider.
Parameters:
Returns:
withResource
public ResourceProviderOperationDisplay withResource(String resource)
Set the resource property: Name of the resource type.
Parameters:
Returns:
Applies to
Azure SDK for Java