Class AFDEndpointUpdateParameters
java.lang.Object
com.microsoft.azure.management.cdn.AFDEndpointUpdateParameters
Properties required to create or update an endpoint.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet whether to enable use of this rule.Get send and receive timeout on forwarding request to the origin.tags()
Get endpoint tags.withEnabledState
(EnabledState enabledState) Set whether to enable use of this rule.withOriginResponseTimeoutSeconds
(Integer originResponseTimeoutSeconds) Set send and receive timeout on forwarding request to the origin.Set endpoint tags.
-
Constructor Details
-
AFDEndpointUpdateParameters
public AFDEndpointUpdateParameters()
-
-
Method Details
-
tags
Get endpoint tags.- Returns:
- the tags value
-
withTags
Set endpoint tags.- Parameters:
tags
- the tags value to set- Returns:
- the AFDEndpointUpdateParameters object itself.
-
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
-
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.
-
enabledState
Get whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'.- Returns:
- the enabledState value
-
withEnabledState
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.
-