Class ApiResourcePolicies

java.lang.Object
com.azure.resourcemanager.logic.models.ApiResourcePolicies

public final class ApiResourcePolicies extends Object
The API resource policies.
  • Constructor Details

    • ApiResourcePolicies

      public ApiResourcePolicies()
      Creates an instance of ApiResourcePolicies class.
  • Method Details

    • content

      public String content()
      Get the content property: The API level only policies XML as embedded content.
      Returns:
      the content value.
    • withContent

      public ApiResourcePolicies withContent(String content)
      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

      public String contentLink()
      Get the contentLink property: The content link to the policies.
      Returns:
      the contentLink value.
    • withContentLink

      public ApiResourcePolicies withContentLink(String contentLink)
      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.