Class PolicyParameters
- java.lang.Object
-
- com.azure.resourcemanager.dataprotection.models.PolicyParameters
-
public final class PolicyParameters extends Object
Parameters in Policy.
-
-
Constructor Summary
Constructors Constructor Description PolicyParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DataStoreParameters>
dataStoreParametersList()
Get the dataStoreParametersList property: Gets or sets the DataStore Parameters.void
validate()
Validates the instance.PolicyParameters
withDataStoreParametersList(List<DataStoreParameters> dataStoreParametersList)
Set the dataStoreParametersList property: Gets or sets the DataStore Parameters.
-
-
-
Method Detail
-
dataStoreParametersList
public List<DataStoreParameters> dataStoreParametersList()
Get the dataStoreParametersList property: Gets or sets the DataStore Parameters.- Returns:
- the dataStoreParametersList value.
-
withDataStoreParametersList
public PolicyParameters withDataStoreParametersList(List<DataStoreParameters> dataStoreParametersList)
Set the dataStoreParametersList property: Gets or sets the DataStore Parameters.- Parameters:
dataStoreParametersList
- the dataStoreParametersList value to set.- Returns:
- the PolicyParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-