Class OperationInner
- java.lang.Object
-
- com.azure.resourcemanager.eventgrid.fluent.models.OperationInner
-
public final class OperationInner extends Object
Represents an operation returned by the GetOperations request.
-
-
Constructor Summary
Constructors Constructor Description OperationInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationInfodisplay()Get the display property: Display name of the operation.Stringname()Get the name property: Name of the operation.Stringorigin()Get the origin property: Origin of the operation.Objectproperties()Get the properties property: Properties of the operation.voidvalidate()Validates the instance.OperationInnerwithDisplay(OperationInfo display)Set the display property: Display name of the operation.OperationInnerwithName(String name)Set the name property: Name of the operation.OperationInnerwithOrigin(String origin)Set the origin property: Origin of the operation.OperationInnerwithProperties(Object properties)Set the properties property: Properties of the operation.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of the operation.- Returns:
- the name value.
-
withName
public OperationInner withName(String name)
Set the name property: Name of the operation.- Parameters:
name- the name value to set.- Returns:
- the OperationInner object itself.
-
display
public OperationInfo display()
Get the display property: Display name of the operation.- Returns:
- the display value.
-
withDisplay
public OperationInner withDisplay(OperationInfo display)
Set the display property: Display name of the operation.- Parameters:
display- the display value to set.- Returns:
- the OperationInner object itself.
-
origin
public String origin()
Get the origin property: Origin of the operation.- Returns:
- the origin value.
-
withOrigin
public OperationInner withOrigin(String origin)
Set the origin property: Origin of the operation.- Parameters:
origin- the origin value to set.- Returns:
- the OperationInner object itself.
-
properties
public Object properties()
Get the properties property: Properties of the operation.- Returns:
- the properties value.
-
withProperties
public OperationInner withProperties(Object properties)
Set the properties property: Properties of the operation.- Parameters:
properties- the properties value to set.- Returns:
- the OperationInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-