AvailableOperationDisplay Class
- java.
lang. Object - com.
azure. resourcemanager. servicefabric. models. AvailableOperationDisplay
- com.
Implements
public final class AvailableOperationDisplay
implements JsonSerializable<AvailableOperationDisplay>
Operation supported by the Service Fabric resource provider.
Constructor Summary
| Constructor | Description |
|---|---|
| AvailableOperationDisplay() |
Creates an instance of Available |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: Operation description. |
|
static
Available |
fromJson(JsonReader jsonReader)
Reads an instance of Available |
| String |
operation()
Get the operation property: The operation that can be performed. |
| String |
provider()
Get the provider property: The name of the provider. |
| String |
resource()
Get the resource property: The resource on which the operation is performed. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Available |
withDescription(String description)
Set the description property: Operation description. |
|
Available |
withOperation(String operation)
Set the operation property: The operation that can be performed. |
|
Available |
withProvider(String provider)
Set the provider property: The name of the provider. |
|
Available |
withResource(String resource)
Set the resource property: The resource on which the operation is performed. |
Methods inherited from java.lang.Object
Constructor Details
AvailableOperationDisplay
public AvailableOperationDisplay()
Creates an instance of AvailableOperationDisplay class.
Method Details
description
public String description()
Get the description property: Operation description.
Returns:
fromJson
public static AvailableOperationDisplay fromJson(JsonReader jsonReader)
Reads an instance of AvailableOperationDisplay from the JsonReader.
Parameters:
Returns:
Throws:
operation
public String operation()
Get the operation property: The operation that can be performed.
Returns:
provider
public String provider()
Get the provider property: The name of the provider.
Returns:
resource
public String resource()
Get the resource property: The resource on which the operation is performed.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public AvailableOperationDisplay withDescription(String description)
Set the description property: Operation description.
Parameters:
Returns:
withOperation
public AvailableOperationDisplay withOperation(String operation)
Set the operation property: The operation that can be performed.
Parameters:
Returns:
withProvider
public AvailableOperationDisplay withProvider(String provider)
Set the provider property: The name of the provider.
Parameters:
Returns:
withResource
public AvailableOperationDisplay withResource(String resource)
Set the resource property: The resource on which the operation is performed.
Parameters:
Returns: