OperationInner Class
- java.
lang. Object - com.
azure. resourcemanager. resourcegraph. fluent. models. OperationInner
- com.
Implements
public final class OperationInner
implements JsonSerializable<OperationInner>
Resource Graph REST API operation definition.
Constructor Summary
Constructor | Description |
---|---|
OperationInner() |
Creates an instance of Operation |
Method Summary
Modifier and Type | Method and Description |
---|---|
Operation |
display()
Get the display property: Display metadata associated with the operation. |
static
Operation |
fromJson(JsonReader jsonReader)
Reads an instance of Operation |
String |
name()
Get the name property: Operation name: {provider}/{resource}/{operation}. |
String |
origin()
Get the origin property: The origin of operations. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Operation |
withDisplay(OperationDisplay display)
Set the display property: Display metadata associated with the operation. |
Operation |
withName(String name)
Set the name property: Operation name: {provider}/{resource}/{operation}. |
Operation |
withOrigin(String origin)
Set the origin property: The origin of operations. |
Methods inherited from java.lang.Object
Constructor Details
OperationInner
public OperationInner()
Creates an instance of OperationInner class.
Method Details
display
public OperationDisplay display()
Get the display property: Display metadata associated with the operation.
Returns:
fromJson
public static OperationInner fromJson(JsonReader jsonReader)
Reads an instance of OperationInner from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Operation name: {provider}/{resource}/{operation}.
Returns:
origin
public String origin()
Get the origin property: The origin of operations.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDisplay
public OperationInner withDisplay(OperationDisplay display)
Set the display property: Display metadata associated with the operation.
Parameters:
Returns:
withName
public OperationInner withName(String name)
Set the name property: Operation name: {provider}/{resource}/{operation}.
Parameters:
Returns:
withOrigin
public OperationInner withOrigin(String origin)
Set the origin property: The origin of operations.
Parameters:
Returns:
Applies to
Azure SDK for Java