Class OperationInfo
- java.lang.Object
-
- com.azure.resourcemanager.eventgrid.models.OperationInfo
-
public final class OperationInfo extends Object
Information about an operation.
-
-
Constructor Summary
Constructors Constructor Description OperationInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()Get the description property: Description of the operation.Stringoperation()Get the operation property: Name of the operation.Stringprovider()Get the provider property: Name of the provider.Stringresource()Get the resource property: Name of the resource type.voidvalidate()Validates the instance.OperationInfowithDescription(String description)Set the description property: Description of the operation.OperationInfowithOperation(String operation)Set the operation property: Name of the operation.OperationInfowithProvider(String provider)Set the provider property: Name of the provider.OperationInfowithResource(String resource)Set the resource property: Name of the resource type.
-
-
-
Method Detail
-
provider
public String provider()
Get the provider property: Name of the provider.- Returns:
- the provider value.
-
withProvider
public OperationInfo withProvider(String provider)
Set the provider property: Name of the provider.- Parameters:
provider- the provider value to set.- Returns:
- the OperationInfo object itself.
-
resource
public String resource()
Get the resource property: Name of the resource type.- Returns:
- the resource value.
-
withResource
public OperationInfo withResource(String resource)
Set the resource property: Name of the resource type.- Parameters:
resource- the resource value to set.- Returns:
- the OperationInfo object itself.
-
operation
public String operation()
Get the operation property: Name of the operation.- Returns:
- the operation value.
-
withOperation
public OperationInfo withOperation(String operation)
Set the operation property: Name of the operation.- Parameters:
operation- the operation value to set.- Returns:
- the OperationInfo object itself.
-
description
public String description()
Get the description property: Description of the operation.- Returns:
- the description value.
-
withDescription
public OperationInfo withDescription(String description)
Set the description property: Description of the operation.- Parameters:
description- the description value to set.- Returns:
- the OperationInfo object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-