Class Permissions
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.Permissions
-
public final class Permissions extends Object
Permissions required for the connector.
-
-
Constructor Summary
Constructors Constructor Description Permissions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PermissionsCustomsItem>
customs()
Get the customs property: Customs permissions required for the connector.List<PermissionsResourceProviderItem>
resourceProvider()
Get the resourceProvider property: Resource provider permissions required for the connector.void
validate()
Validates the instance.Permissions
withCustoms(List<PermissionsCustomsItem> customs)
Set the customs property: Customs permissions required for the connector.Permissions
withResourceProvider(List<PermissionsResourceProviderItem> resourceProvider)
Set the resourceProvider property: Resource provider permissions required for the connector.
-
-
-
Method Detail
-
resourceProvider
public List<PermissionsResourceProviderItem> resourceProvider()
Get the resourceProvider property: Resource provider permissions required for the connector.- Returns:
- the resourceProvider value.
-
withResourceProvider
public Permissions withResourceProvider(List<PermissionsResourceProviderItem> resourceProvider)
Set the resourceProvider property: Resource provider permissions required for the connector.- Parameters:
resourceProvider
- the resourceProvider value to set.- Returns:
- the Permissions object itself.
-
customs
public List<PermissionsCustomsItem> customs()
Get the customs property: Customs permissions required for the connector.- Returns:
- the customs value.
-
withCustoms
public Permissions withCustoms(List<PermissionsCustomsItem> customs)
Set the customs property: Customs permissions required for the connector.- Parameters:
customs
- the customs value to set.- Returns:
- the Permissions object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-