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