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 String
description()
Get the description property: The operation description.String
displayName()
Get the displayName property: The operation display name.Boolean
isDataAction()
Get the isDataAction property: The dataAction flag to specify the operation type.String
name()
Get the name property: The operation name.String
origin()
Get the origin property: The operation origin.Object
properties()
Get the properties property: The operation properties.void
validate()
Validates the instance.ProviderOperation
withDescription(String description)
Set the description property: The operation description.ProviderOperation
withDisplayName(String displayName)
Set the displayName property: The operation display name.ProviderOperation
withIsDataAction(Boolean isDataAction)
Set the isDataAction property: The dataAction flag to specify the operation type.ProviderOperation
withName(String name)
Set the name property: The operation name.ProviderOperation
withOrigin(String origin)
Set the origin property: The operation origin.ProviderOperation
withProperties(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.
-
-