Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.cdn.implementation; import com.microsoft.azure.management.cdn.EnabledState; import com.microsoft.azure.management.cdn.AfdProvisioningState; import com.microsoft.azure.management.cdn.DeploymentStatus; import com.microsoft.azure.management.cdn.SystemData; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.Resource;
CDN 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.
/** * CDN 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 * &lt;endpointname&gt;.azureedge.net. */
@JsonFlatten public class AFDEndpointInner extends Resource {
Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
/** * Send and receive timeout on forwarding request to the origin. When * timeout is reached, the request fails and returns. */
@JsonProperty(value = "properties.originResponseTimeoutSeconds") private Integer originResponseTimeoutSeconds;
Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'.
/** * Whether to enable use of this rule. Permitted values are 'Enabled' or * 'Disabled'. Possible values include: 'Enabled', 'Disabled'. */
@JsonProperty(value = "properties.enabledState") private EnabledState enabledState;
Provisioning status. Possible values include: 'Succeeded', 'Failed', 'Updating', 'Deleting', 'Creating'.
/** * Provisioning status. Possible values include: 'Succeeded', 'Failed', * 'Updating', 'Deleting', 'Creating'. */
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) private AfdProvisioningState provisioningState;
Possible values include: 'NotStarted', 'InProgress', 'Succeeded', 'Failed'.
/** * Possible values include: 'NotStarted', 'InProgress', 'Succeeded', * 'Failed'. */
@JsonProperty(value = "properties.deploymentStatus", access = JsonProperty.Access.WRITE_ONLY) private DeploymentStatus deploymentStatus;
The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net.
/** * The host name of the endpoint structured as {endpointName}.{DNSZone}, * e.g. contoso.azureedge.net. */
@JsonProperty(value = "properties.hostName", access = JsonProperty.Access.WRITE_ONLY) private String hostName;
The systemData property.
/** * The systemData property. */
@JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) private SystemData systemData;
Get send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
Returns:the originResponseTimeoutSeconds value
/** * Get send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. * * @return the originResponseTimeoutSeconds value */
public Integer originResponseTimeoutSeconds() { return this.originResponseTimeoutSeconds; }
Set send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.
Params:
  • originResponseTimeoutSeconds – the originResponseTimeoutSeconds value to set
Returns:the AFDEndpointInner object itself.
/** * Set send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns. * * @param originResponseTimeoutSeconds the originResponseTimeoutSeconds value to set * @return the AFDEndpointInner object itself. */
public AFDEndpointInner withOriginResponseTimeoutSeconds(Integer originResponseTimeoutSeconds) { this.originResponseTimeoutSeconds = originResponseTimeoutSeconds; return this; }
Get whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'.
Returns:the enabledState value
/** * Get whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'. * * @return the enabledState value */
public EnabledState enabledState() { return this.enabledState; }
Set whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'.
Params:
  • enabledState – the enabledState value to set
Returns:the AFDEndpointInner object itself.
/** * Set whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'. * * @param enabledState the enabledState value to set * @return the AFDEndpointInner object itself. */
public AFDEndpointInner withEnabledState(EnabledState enabledState) { this.enabledState = enabledState; return this; }
Get provisioning status. Possible values include: 'Succeeded', 'Failed', 'Updating', 'Deleting', 'Creating'.
Returns:the provisioningState value
/** * Get provisioning status. Possible values include: 'Succeeded', 'Failed', 'Updating', 'Deleting', 'Creating'. * * @return the provisioningState value */
public AfdProvisioningState provisioningState() { return this.provisioningState; }
Get possible values include: 'NotStarted', 'InProgress', 'Succeeded', 'Failed'.
Returns:the deploymentStatus value
/** * Get possible values include: 'NotStarted', 'InProgress', 'Succeeded', 'Failed'. * * @return the deploymentStatus value */
public DeploymentStatus deploymentStatus() { return this.deploymentStatus; }
Get the host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net.
Returns:the hostName value
/** * Get the host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net. * * @return the hostName value */
public String hostName() { return this.hostName; }
Get the systemData value.
Returns:the systemData value
/** * Get the systemData value. * * @return the systemData value */
public SystemData systemData() { return this.systemData; } }