Class FlowAccessControlConfiguration
java.lang.Object
com.azure.resourcemanager.appservice.models.FlowAccessControlConfiguration
- All Implemented Interfaces:
com.azure.json.JsonSerializable<FlowAccessControlConfiguration>
public final class FlowAccessControlConfiguration
extends Object
implements com.azure.json.JsonSerializable<FlowAccessControlConfiguration>
The access control configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of FlowAccessControlConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionactions()Get the actions property: The access control configuration for workflow actions.contents()Get the contents property: The access control configuration for accessing workflow run contents.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FlowAccessControlConfiguration from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) triggers()Get the triggers property: The access control configuration for invoking workflow triggers.voidvalidate()Validates the instance.Set the actions property: The access control configuration for workflow actions.Set the contents property: The access control configuration for accessing workflow run contents.Set the triggers property: The access control configuration for invoking workflow triggers.withWorkflowManagement(FlowAccessControlConfigurationPolicy workflowManagement) Set the workflowManagement property: The access control configuration for workflow management.Get the workflowManagement property: The access control configuration for workflow management.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
FlowAccessControlConfiguration
public FlowAccessControlConfiguration()Creates an instance of FlowAccessControlConfiguration class.
-
-
Method Details
-
triggers
Get the triggers property: The access control configuration for invoking workflow triggers.- Returns:
- the triggers value.
-
withTriggers
Set the triggers property: The access control configuration for invoking workflow triggers.- Parameters:
triggers- the triggers value to set.- Returns:
- the FlowAccessControlConfiguration object itself.
-
contents
Get the contents property: The access control configuration for accessing workflow run contents.- Returns:
- the contents value.
-
withContents
Set the contents property: The access control configuration for accessing workflow run contents.- Parameters:
contents- the contents value to set.- Returns:
- the FlowAccessControlConfiguration object itself.
-
actions
Get the actions property: The access control configuration for workflow actions.- Returns:
- the actions value.
-
withActions
Set the actions property: The access control configuration for workflow actions.- Parameters:
actions- the actions value to set.- Returns:
- the FlowAccessControlConfiguration object itself.
-
workflowManagement
Get the workflowManagement property: The access control configuration for workflow management.- Returns:
- the workflowManagement value.
-
withWorkflowManagement
public FlowAccessControlConfiguration withWorkflowManagement(FlowAccessControlConfigurationPolicy workflowManagement) Set the workflowManagement property: The access control configuration for workflow management.- Parameters:
workflowManagement- the workflowManagement value to set.- Returns:
- the FlowAccessControlConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<FlowAccessControlConfiguration>- Throws:
IOException
-
fromJson
public static FlowAccessControlConfiguration fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of FlowAccessControlConfiguration from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of FlowAccessControlConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the FlowAccessControlConfiguration.
-