Class ScopeMapUpdateParameters
java.lang.Object
com.azure.resourcemanager.containerregistry.models.ScopeMapUpdateParameters
The properties for updating the scope map.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ScopeMapUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionactions()Get the actions property: The list of scope permissions for registry artifacts.Get the description property: The user friendly description of the scope map.voidvalidate()Validates the instance.withActions(List<String> actions) Set the actions property: The list of scope permissions for registry artifacts.withDescription(String description) Set the description property: The user friendly description of the scope map.
-
Constructor Details
-
ScopeMapUpdateParameters
public ScopeMapUpdateParameters()Creates an instance of ScopeMapUpdateParameters class.
-
-
Method Details
-
description
Get the description property: The user friendly description of the scope map.- Returns:
- the description value.
-
withDescription
Set the description property: The user friendly description of the scope map.- Parameters:
description- the description value to set.- Returns:
- the ScopeMapUpdateParameters object itself.
-
actions
Get the actions property: The list of scope permissions for registry artifacts. E.g. repositories/repository-name/pull, repositories/repository-name/delete.- Returns:
- the actions value.
-
withActions
Set the actions property: The list of scope permissions for registry artifacts. E.g. repositories/repository-name/pull, repositories/repository-name/delete.- Parameters:
actions- the actions value to set.- Returns:
- the ScopeMapUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-