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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin