OperationInner Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. fluent. models. OperationInner
- com.
Implements
public final class OperationInner
implements JsonSerializable<OperationInner>
REST API operation.
Constructor Summary
Constructor | Description |
---|---|
OperationInner() |
Creates an instance of Operation |
Method Summary
Modifier and Type | Method and Description |
---|---|
Operation |
display()
Get the display property: The object that represents the operation. |
static
Operation |
fromJson(JsonReader jsonReader)
Reads an instance of Operation |
String |
name()
Get the name property: Operation name: {provider}/{resource}/{operation}. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Operation |
withDisplay(OperationDisplay display)
Set the display property: The object that represents the operation. |
Operation |
withName(String name)
Set the name property: Operation name: {provider}/{resource}/{operation}. |
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: The object that represents 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:
toJson
validate
public void validate()
Validates the instance.
withDisplay
public OperationInner withDisplay(OperationDisplay display)
Set the display property: The object that represents the operation.
Parameters:
Returns:
withName
public OperationInner withName(String name)
Set the name property: Operation name: {provider}/{resource}/{operation}.
Parameters:
Returns:
Applies to
Azure SDK for Java