OperationInner Class
- java.
lang. Object - com.
azure. resourcemanager. storage. fluent. models. OperationInner
- com.
Implements
public final class OperationInner
implements JsonSerializable<OperationInner>
Storage 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. |
Service |
serviceSpecification()
Get the service |
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. |
Operation |
withServiceSpecification(ServiceSpecification serviceSpecification)
Set the service |
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:
serviceSpecification
public ServiceSpecification serviceSpecification()
Get the serviceSpecification property: One property of operation, include metric specifications.
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:
withServiceSpecification
public OperationInner withServiceSpecification(ServiceSpecification serviceSpecification)
Set the serviceSpecification property: One property of operation, include metric specifications.
Parameters:
Returns:
Applies to
Azure SDK for Java