AFDEndpointUpdateParameters Class

  • java.lang.Object
    • com.microsoft.azure.management.cdn.AFDEndpointUpdateParameters

public class AFDEndpointUpdateParameters

Properties required to create or update an endpoint.

Constructor Summary

Constructor Description
AFDEndpointUpdateParameters()

Method Summary

Modifier and Type Method and Description
EnabledState enabledState()

Get whether to enable use of this rule.

java.lang.Integer originResponseTimeoutSeconds()

Get send and receive timeout on forwarding request to the origin.

java.util.Map<java.lang.String,java.lang.String> tags()

Get endpoint tags.

AFDEndpointUpdateParameters withEnabledState(EnabledState enabledState)

Set whether to enable use of this rule.

AFDEndpointUpdateParameters withOriginResponseTimeoutSeconds(Integer originResponseTimeoutSeconds)

Set send and receive timeout on forwarding request to the origin.

AFDEndpointUpdateParameters withTags(Map<String,String> tags)

Set endpoint tags.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

AFDEndpointUpdateParameters

public AFDEndpointUpdateParameters()

Method Details

enabledState

public EnabledState enabledState()

Get whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'.

Returns:

the enabledState value

originResponseTimeoutSeconds

public Integer originResponseTimeoutSeconds()

Get send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.

Returns:

the originResponseTimeoutSeconds value

tags

public Map tags()

Get endpoint tags.

Returns:

the tags value

withEnabledState

public AFDEndpointUpdateParameters withEnabledState(EnabledState enabledState)

Set whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'.

Parameters:

enabledState - the enabledState value to set

Returns:

the AFDEndpointUpdateParameters object itself.

withOriginResponseTimeoutSeconds

public AFDEndpointUpdateParameters withOriginResponseTimeoutSeconds(Integer originResponseTimeoutSeconds)

Set send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.

Parameters:

originResponseTimeoutSeconds - the originResponseTimeoutSeconds value to set

Returns:

the AFDEndpointUpdateParameters object itself.

withTags

public AFDEndpointUpdateParameters withTags(Map tags)

Set endpoint tags.

Parameters:

tags - the tags value to set

Returns:

the AFDEndpointUpdateParameters object itself.

Applies to