Class DataMasking
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.DataMasking
-
public final class DataMasking extends Object
The DataMasking model.
-
-
Constructor Summary
Constructors Constructor Description DataMasking()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DataMaskingEntity>
headers()
Get the headers property: Masking settings for headers.List<DataMaskingEntity>
queryParams()
Get the queryParams property: Masking settings for Url query parameters.void
validate()
Validates the instance.DataMasking
withHeaders(List<DataMaskingEntity> headers)
Set the headers property: Masking settings for headers.DataMasking
withQueryParams(List<DataMaskingEntity> queryParams)
Set the queryParams property: Masking settings for Url query parameters.
-
-
-
Method Detail
-
queryParams
public List<DataMaskingEntity> queryParams()
Get the queryParams property: Masking settings for Url query parameters.- Returns:
- the queryParams value.
-
withQueryParams
public DataMasking withQueryParams(List<DataMaskingEntity> queryParams)
Set the queryParams property: Masking settings for Url query parameters.- Parameters:
queryParams
- the queryParams value to set.- Returns:
- the DataMasking object itself.
-
headers
public List<DataMaskingEntity> headers()
Get the headers property: Masking settings for headers.- Returns:
- the headers value.
-
withHeaders
public DataMasking withHeaders(List<DataMaskingEntity> headers)
Set the headers property: Masking settings for headers.- Parameters:
headers
- the headers value to set.- Returns:
- the DataMasking object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-