public class AfdEndpointPropertiesUpdateParameters extends Object
| Constructor and Description |
|---|
AfdEndpointPropertiesUpdateParameters() |
| Modifier and Type | Method and Description |
|---|---|
EnabledState |
enabledState()
Get the enabledState property: Whether to enable use of this rule.
|
Integer |
originResponseTimeoutSeconds()
Get the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin.
|
void |
validate()
Validates the instance.
|
AfdEndpointPropertiesUpdateParameters |
withEnabledState(EnabledState enabledState)
Set the enabledState property: Whether to enable use of this rule.
|
AfdEndpointPropertiesUpdateParameters |
withOriginResponseTimeoutSeconds(Integer originResponseTimeoutSeconds)
Set the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin.
|
public AfdEndpointPropertiesUpdateParameters()
public Integer originResponseTimeoutSeconds()
public AfdEndpointPropertiesUpdateParameters withOriginResponseTimeoutSeconds(Integer originResponseTimeoutSeconds)
originResponseTimeoutSeconds - the originResponseTimeoutSeconds value to set.public EnabledState enabledState()
public AfdEndpointPropertiesUpdateParameters withEnabledState(EnabledState enabledState)
enabledState - the enabledState value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.