Class AvailableRpOperationDisplayInfo
- java.lang.Object
-
- com.azure.resourcemanager.synapse.models.AvailableRpOperationDisplayInfo
-
public final class AvailableRpOperationDisplayInfo extends Object
Description of an available operation.
-
-
Constructor Summary
Constructors Constructor Description AvailableRpOperationDisplayInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
Get the description property: Operation description.String
operation()
Get the operation property: Operation name.String
provider()
Get the provider property: Resource provider name.String
resource()
Get the resource property: Resource type.void
validate()
Validates the instance.AvailableRpOperationDisplayInfo
withDescription(String description)
Set the description property: Operation description.AvailableRpOperationDisplayInfo
withOperation(String operation)
Set the operation property: Operation name.AvailableRpOperationDisplayInfo
withProvider(String provider)
Set the provider property: Resource provider name.AvailableRpOperationDisplayInfo
withResource(String resource)
Set the resource property: Resource type.
-
-
-
Method Detail
-
description
public String description()
Get the description property: Operation description.- Returns:
- the description value.
-
withDescription
public AvailableRpOperationDisplayInfo withDescription(String description)
Set the description property: Operation description.- Parameters:
description
- the description value to set.- Returns:
- the AvailableRpOperationDisplayInfo object itself.
-
resource
public String resource()
Get the resource property: Resource type.- Returns:
- the resource value.
-
withResource
public AvailableRpOperationDisplayInfo withResource(String resource)
Set the resource property: Resource type.- Parameters:
resource
- the resource value to set.- Returns:
- the AvailableRpOperationDisplayInfo object itself.
-
provider
public String provider()
Get the provider property: Resource provider name.- Returns:
- the provider value.
-
withProvider
public AvailableRpOperationDisplayInfo withProvider(String provider)
Set the provider property: Resource provider name.- Parameters:
provider
- the provider value to set.- Returns:
- the AvailableRpOperationDisplayInfo object itself.
-
operation
public String operation()
Get the operation property: Operation name.- Returns:
- the operation value.
-
withOperation
public AvailableRpOperationDisplayInfo withOperation(String operation)
Set the operation property: Operation name.- Parameters:
operation
- the operation value to set.- Returns:
- the AvailableRpOperationDisplayInfo object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-