Class AfdEndpointProperties

java.lang.Object
com.azure.resourcemanager.cdn.fluent.models.AfdEndpointPropertiesUpdateParameters
com.azure.resourcemanager.cdn.fluent.models.AfdEndpointProperties

public final class AfdEndpointProperties extends AfdEndpointPropertiesUpdateParameters
The JSON object that contains the properties required to create an endpoint.
  • Constructor Details

    • AfdEndpointProperties

      public AfdEndpointProperties()
  • Method Details

    • hostname

      public String hostname()
      Get the hostname property: The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net.
      Returns:
      the hostname value.
    • autoGeneratedDomainNameLabelScope

      public AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope()
      Get the autoGeneratedDomainNameLabelScope property: Indicates the endpoint name reuse scope. The default value is TenantReuse.
      Returns:
      the autoGeneratedDomainNameLabelScope value.
    • withAutoGeneratedDomainNameLabelScope

      public AfdEndpointProperties withAutoGeneratedDomainNameLabelScope(AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope)
      Set the autoGeneratedDomainNameLabelScope property: Indicates the endpoint name reuse scope. The default value is TenantReuse.
      Parameters:
      autoGeneratedDomainNameLabelScope - the autoGeneratedDomainNameLabelScope value to set.
      Returns:
      the AfdEndpointProperties object itself.
    • provisioningState

      public AfdProvisioningState provisioningState()
      Get the provisioningState property: Provisioning status.
      Returns:
      the provisioningState value.
    • deploymentStatus

      public DeploymentStatus deploymentStatus()
      Get the deploymentStatus property: The deploymentStatus property.
      Returns:
      the deploymentStatus value.
    • withEnabledState

      public AfdEndpointProperties withEnabledState(EnabledState enabledState)
      Set the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.
      Overrides:
      withEnabledState in class AfdEndpointPropertiesUpdateParameters
      Parameters:
      enabledState - the enabledState value to set.
      Returns:
      the AfdEndpointPropertiesUpdateParameters object itself.
    • validate

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