Class AfdEndpointInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.cdn.fluent.models.AfdEndpointInner
-
public final class AfdEndpointInner extends com.azure.core.management.ResourceCDN endpoint is the entity within a CDN profile containing configuration information such as origin, protocol, content caching and delivery behavior. The AzureFrontDoor endpoint uses the URL format <endpointname>.azureedge.net.
-
-
Constructor Summary
Constructors Constructor Description AfdEndpointInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoGeneratedDomainNameLabelScopeautoGeneratedDomainNameLabelScope()Get the autoGeneratedDomainNameLabelScope property: Indicates the endpoint name reuse scope.DeploymentStatusdeploymentStatus()Get the deploymentStatus property: The deploymentStatus property.EnabledStateenabledState()Get the enabledState property: Whether to enable use of this rule.Stringhostname()Get the hostname property: The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g.StringprofileName()Get the profileName property: The name of the profile which holds the endpoint.AfdProvisioningStateprovisioningState()Get the provisioningState property: Provisioning status.voidvalidate()Validates the instance.AfdEndpointInnerwithAutoGeneratedDomainNameLabelScope(AutoGeneratedDomainNameLabelScope autoGeneratedDomainNameLabelScope)Set the autoGeneratedDomainNameLabelScope property: Indicates the endpoint name reuse scope.AfdEndpointInnerwithEnabledState(EnabledState enabledState)Set the enabledState property: Whether to enable use of this rule.AfdEndpointInnerwithLocation(String location)AfdEndpointInnerwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
withLocation
public AfdEndpointInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public AfdEndpointInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
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 AfdEndpointInner 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 AfdEndpointInner 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.
-
profileName
public String profileName()
Get the profileName property: The name of the profile which holds the endpoint.- Returns:
- the profileName value.
-
enabledState
public EnabledState enabledState()
Get the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.- Returns:
- the enabledState value.
-
withEnabledState
public AfdEndpointInner withEnabledState(EnabledState enabledState)
Set the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.- Parameters:
enabledState- the enabledState value to set.- Returns:
- the AfdEndpointInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-