AFDEndpointUpdateParameters Class
- java.
lang. Object - com.
microsoft. azure. management. cdn. AFDEndpointUpdateParameters
- com.
public class AFDEndpointUpdateParameters
Properties required to create or update an endpoint.
Constructor Summary
Constructor | Description | |
---|---|---|
AFDEndpointUpdateParameters() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Enabled |
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. |
AFDEndpoint |
withEnabledState(EnabledState enabledState)
Set whether to enable use of this rule. |
AFDEndpoint |
withOriginResponseTimeoutSeconds(Integer originResponseTimeoutSeconds)
Set send and receive timeout on forwarding request to the origin. |
AFDEndpoint |
withTags(Map<String,String> tags)
Set endpoint tags. |
Methods inherited from java.lang.Object
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:
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:
tags
public Map
Get endpoint tags.
Returns:
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:
Returns:
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:
Returns:
withTags
public AFDEndpointUpdateParameters withTags(Map
Set endpoint tags.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor