Class ServiceEndpointPolicyDefinitionPropertiesFormat


  • public final class ServiceEndpointPolicyDefinitionPropertiesFormat
    extends Object
    Service Endpoint policy definition resource.
    • Constructor Detail

      • ServiceEndpointPolicyDefinitionPropertiesFormat

        public ServiceEndpointPolicyDefinitionPropertiesFormat()
    • Method Detail

      • description

        public String description()
        Get the description property: A description for this rule. Restricted to 140 chars.
        Returns:
        the description value.
      • withDescription

        public ServiceEndpointPolicyDefinitionPropertiesFormat withDescription​(String description)
        Set the description property: A description for this rule. Restricted to 140 chars.
        Parameters:
        description - the description value to set.
        Returns:
        the ServiceEndpointPolicyDefinitionPropertiesFormat object itself.
      • service

        public String service()
        Get the service property: Service endpoint name.
        Returns:
        the service value.
      • withService

        public ServiceEndpointPolicyDefinitionPropertiesFormat withService​(String service)
        Set the service property: Service endpoint name.
        Parameters:
        service - the service value to set.
        Returns:
        the ServiceEndpointPolicyDefinitionPropertiesFormat object itself.
      • serviceResources

        public List<String> serviceResources()
        Get the serviceResources property: A list of service resources.
        Returns:
        the serviceResources value.
      • withServiceResources

        public ServiceEndpointPolicyDefinitionPropertiesFormat withServiceResources​(List<String> serviceResources)
        Set the serviceResources property: A list of service resources.
        Parameters:
        serviceResources - the serviceResources value to set.
        Returns:
        the ServiceEndpointPolicyDefinitionPropertiesFormat object itself.
      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: The provisioning state of the service endpoint policy definition resource.
        Returns:
        the provisioningState value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.