Class ProviderOperation
- java.lang.Object
-
- com.azure.resourcemanager.authorization.models.ProviderOperation
-
public final class ProviderOperation extends Object
Operation.
-
-
Constructor Summary
Constructors Constructor Description ProviderOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()Get the description property: The operation description.StringdisplayName()Get the displayName property: The operation display name.BooleanisDataAction()Get the isDataAction property: The dataAction flag to specify the operation type.Stringname()Get the name property: The operation name.Stringorigin()Get the origin property: The operation origin.Objectproperties()Get the properties property: The operation properties.voidvalidate()Validates the instance.ProviderOperationwithDescription(String description)Set the description property: The operation description.ProviderOperationwithDisplayName(String displayName)Set the displayName property: The operation display name.ProviderOperationwithIsDataAction(Boolean isDataAction)Set the isDataAction property: The dataAction flag to specify the operation type.ProviderOperationwithName(String name)Set the name property: The operation name.ProviderOperationwithOrigin(String origin)Set the origin property: The operation origin.ProviderOperationwithProperties(Object properties)Set the properties property: The operation properties.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The operation name.- Returns:
- the name value.
-
withName
public ProviderOperation withName(String name)
Set the name property: The operation name.- Parameters:
name- the name value to set.- Returns:
- the ProviderOperation object itself.
-
displayName
public String displayName()
Get the displayName property: The operation display name.- Returns:
- the displayName value.
-
withDisplayName
public ProviderOperation withDisplayName(String displayName)
Set the displayName property: The operation display name.- Parameters:
displayName- the displayName value to set.- Returns:
- the ProviderOperation object itself.
-
description
public String description()
Get the description property: The operation description.- Returns:
- the description value.
-
withDescription
public ProviderOperation withDescription(String description)
Set the description property: The operation description.- Parameters:
description- the description value to set.- Returns:
- the ProviderOperation object itself.
-
origin
public String origin()
Get the origin property: The operation origin.- Returns:
- the origin value.
-
withOrigin
public ProviderOperation withOrigin(String origin)
Set the origin property: The operation origin.- Parameters:
origin- the origin value to set.- Returns:
- the ProviderOperation object itself.
-
properties
public Object properties()
Get the properties property: The operation properties.- Returns:
- the properties value.
-
withProperties
public ProviderOperation withProperties(Object properties)
Set the properties property: The operation properties.- Parameters:
properties- the properties value to set.- Returns:
- the ProviderOperation object itself.
-
isDataAction
public Boolean isDataAction()
Get the isDataAction property: The dataAction flag to specify the operation type.- Returns:
- the isDataAction value.
-
withIsDataAction
public ProviderOperation withIsDataAction(Boolean isDataAction)
Set the isDataAction property: The dataAction flag to specify the operation type.- Parameters:
isDataAction- the isDataAction value to set.- Returns:
- the ProviderOperation object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-