Class ResourceSetDescription
java.lang.Object
com.azure.resourcemanager.customerinsights.models.ResourceSetDescription
The resource set description.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ResourceSetDescription class. -
Method Summary
Modifier and TypeMethodDescriptionelements()
Get the elements property: The elements included in the set.Get the exceptions property: The elements that are not included in the set, in case elements contains '*' indicating 'all'.void
validate()
Validates the instance.withElements
(List<String> elements) Set the elements property: The elements included in the set.withExceptions
(List<String> exceptions) Set the exceptions property: The elements that are not included in the set, in case elements contains '*' indicating 'all'.
-
Constructor Details
-
ResourceSetDescription
public ResourceSetDescription()Creates an instance of ResourceSetDescription class.
-
-
Method Details
-
elements
Get the elements property: The elements included in the set.- Returns:
- the elements value.
-
withElements
Set the elements property: The elements included in the set.- Parameters:
elements
- the elements value to set.- Returns:
- the ResourceSetDescription object itself.
-
exceptions
Get the exceptions property: The elements that are not included in the set, in case elements contains '*' indicating 'all'.- Returns:
- the exceptions value.
-
withExceptions
Set the exceptions property: The elements that are not included in the set, in case elements contains '*' indicating 'all'.- Parameters:
exceptions
- the exceptions value to set.- Returns:
- the ResourceSetDescription object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-