Class ResourceVersionPolicyConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.healthcareapis.models.ResourceVersionPolicyConfiguration
-
public final class ResourceVersionPolicyConfiguration extends Object
The settings for history tracking for FHIR resources.
-
-
Constructor Summary
Constructors Constructor Description ResourceVersionPolicyConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FhirResourceVersionPolicy
defaultProperty()
Get the defaultProperty property: The default value for tracking history across all resources.Map<String,FhirResourceVersionPolicy>
resourceTypeOverrides()
Get the resourceTypeOverrides property: A list of FHIR Resources and their version policy overrides.void
validate()
Validates the instance.ResourceVersionPolicyConfiguration
withDefaultProperty(FhirResourceVersionPolicy defaultProperty)
Set the defaultProperty property: The default value for tracking history across all resources.ResourceVersionPolicyConfiguration
withResourceTypeOverrides(Map<String,FhirResourceVersionPolicy> resourceTypeOverrides)
Set the resourceTypeOverrides property: A list of FHIR Resources and their version policy overrides.
-
-
-
Method Detail
-
defaultProperty
public FhirResourceVersionPolicy defaultProperty()
Get the defaultProperty property: The default value for tracking history across all resources.- Returns:
- the defaultProperty value.
-
withDefaultProperty
public ResourceVersionPolicyConfiguration withDefaultProperty(FhirResourceVersionPolicy defaultProperty)
Set the defaultProperty property: The default value for tracking history across all resources.- Parameters:
defaultProperty
- the defaultProperty value to set.- Returns:
- the ResourceVersionPolicyConfiguration object itself.
-
resourceTypeOverrides
public Map<String,FhirResourceVersionPolicy> resourceTypeOverrides()
Get the resourceTypeOverrides property: A list of FHIR Resources and their version policy overrides.- Returns:
- the resourceTypeOverrides value.
-
withResourceTypeOverrides
public ResourceVersionPolicyConfiguration withResourceTypeOverrides(Map<String,FhirResourceVersionPolicy> resourceTypeOverrides)
Set the resourceTypeOverrides property: A list of FHIR Resources and their version policy overrides.- Parameters:
resourceTypeOverrides
- the resourceTypeOverrides value to set.- Returns:
- the ResourceVersionPolicyConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-