@Stability(value=Experimental) public static final class HttpBackendConfig.Builder extends Object implements software.amazon.jsii.Builder<HttpBackendConfig>
HttpBackendConfig
Constructor and Description |
---|
Builder() |
@Stability(value=Experimental) public HttpBackendConfig.Builder address(String address)
HttpBackendConfig.getAddress()
address
- (Required) The address of the REST endpoint. This parameter is required.this
@Stability(value=Experimental) public HttpBackendConfig.Builder lockAddress(String lockAddress)
HttpBackendConfig.getLockAddress()
lockAddress
- (Optional) The address of the lock REST endpoint.
Defaults to disabled.this
@Stability(value=Experimental) public HttpBackendConfig.Builder lockMethod(String lockMethod)
HttpBackendConfig.getLockMethod()
lockMethod
- (Optional) The HTTP method to use when locking.
Defaults to LOCK.this
@Stability(value=Experimental) public HttpBackendConfig.Builder password(String password)
HttpBackendConfig.getPassword()
password
- (Optional) The password for HTTP basic authentication.this
@Stability(value=Experimental) public HttpBackendConfig.Builder retryMax(Number retryMax)
HttpBackendConfig.getRetryMax()
retryMax
- (Optional) The number of HTTP request retries.
Defaults to 2.this
@Stability(value=Experimental) public HttpBackendConfig.Builder retryWaitMax(Number retryWaitMax)
HttpBackendConfig.getRetryWaitMax()
retryWaitMax
- (Optional) The maximum time in seconds to wait between HTTP request attempts.
Defaults to 30.this
@Stability(value=Experimental) public HttpBackendConfig.Builder retryWaitMin(Number retryWaitMin)
HttpBackendConfig.getRetryWaitMin()
retryWaitMin
- (Optional) The minimum time in seconds to wait between HTTP request attempts.
Defaults to 1.this
@Stability(value=Experimental) public HttpBackendConfig.Builder skipCertVerification(Boolean skipCertVerification)
HttpBackendConfig.getSkipCertVerification()
skipCertVerification
- (Optional) Whether to skip TLS verification.
Defaults to false.this
@Stability(value=Experimental) public HttpBackendConfig.Builder unlockAddress(String unlockAddress)
HttpBackendConfig.getUnlockAddress()
unlockAddress
- (Optional) The address of the unlock REST endpoint.
Defaults to disabled.this
@Stability(value=Experimental) public HttpBackendConfig.Builder unlockMethod(String unlockMethod)
HttpBackendConfig.getUnlockMethod()
unlockMethod
- (Optional) The HTTP method to use when unlocking.
Defaults to UNLOCK.this
@Stability(value=Experimental) public HttpBackendConfig.Builder updateMethod(String updateMethod)
HttpBackendConfig.getUpdateMethod()
updateMethod
- (Optional) HTTP method to use when updating state.
Defaults to POST.this
@Stability(value=Experimental) public HttpBackendConfig.Builder username(String username)
HttpBackendConfig.getUsername()
username
- (Optional) The username for HTTP basic authentication.this
@Stability(value=Experimental) public HttpBackendConfig build()
build
in interface software.amazon.jsii.Builder<HttpBackendConfig>
HttpBackendConfig
NullPointerException
- if any required attribute was not providedCopyright © 2023. All rights reserved.