Class ApiResourcePolicies
java.lang.Object
com.azure.resourcemanager.logic.models.ApiResourcePolicies
The API resource policies.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncontent()
Get the content property: The API level only policies XML as embedded content.Get the contentLink property: The content link to the policies.void
validate()
Validates the instance.withContent
(String content) Set the content property: The API level only policies XML as embedded content.withContentLink
(String contentLink) Set the contentLink property: The content link to the policies.
-
Constructor Details
-
ApiResourcePolicies
public ApiResourcePolicies()Creates an instance of ApiResourcePolicies class.
-
-
Method Details
-
content
Get the content property: The API level only policies XML as embedded content.- Returns:
- the content value.
-
withContent
Set the content property: The API level only policies XML as embedded content.- Parameters:
content
- the content value to set.- Returns:
- the ApiResourcePolicies object itself.
-
contentLink
Get the contentLink property: The content link to the policies.- Returns:
- the contentLink value.
-
withContentLink
Set the contentLink property: The content link to the policies.- Parameters:
contentLink
- the contentLink value to set.- Returns:
- the ApiResourcePolicies object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-