@Stability(value=Experimental) public static final class HttpBackend.Builder extends Object implements software.amazon.jsii.Builder<HttpBackend>
HttpBackend
.Modifier and Type | Method and Description |
---|---|
HttpBackend.Builder |
address(String address)
(experimental) (Required) The address of the REST endpoint.
|
HttpBackend |
build() |
static HttpBackend.Builder |
create(software.constructs.Construct scope) |
HttpBackend.Builder |
lockAddress(String lockAddress)
(experimental) (Optional) The address of the lock REST endpoint.
|
HttpBackend.Builder |
lockMethod(String lockMethod)
(experimental) (Optional) The HTTP method to use when locking.
|
HttpBackend.Builder |
password(String password)
(experimental) (Optional) The password for HTTP basic authentication.
|
HttpBackend.Builder |
retryMax(Number retryMax)
(experimental) (Optional) The number of HTTP request retries.
|
HttpBackend.Builder |
retryWaitMax(Number retryWaitMax)
(experimental) (Optional) The maximum time in seconds to wait between HTTP request attempts.
|
HttpBackend.Builder |
retryWaitMin(Number retryWaitMin)
(experimental) (Optional) The minimum time in seconds to wait between HTTP request attempts.
|
HttpBackend.Builder |
skipCertVerification(Boolean skipCertVerification)
(experimental) (Optional) Whether to skip TLS verification.
|
HttpBackend.Builder |
unlockAddress(String unlockAddress)
(experimental) (Optional) The address of the unlock REST endpoint.
|
HttpBackend.Builder |
unlockMethod(String unlockMethod)
(experimental) (Optional) The HTTP method to use when unlocking.
|
HttpBackend.Builder |
updateMethod(String updateMethod)
(experimental) (Optional) HTTP method to use when updating state.
|
HttpBackend.Builder |
username(String username)
(experimental) (Optional) The username for HTTP basic authentication.
|
@Stability(value=Experimental) public static HttpBackend.Builder create(software.constructs.Construct scope)
scope
- This parameter is required.HttpBackend.Builder
.@Stability(value=Experimental) public HttpBackend.Builder address(String address)
address
- (Required) The address of the REST endpoint. This parameter is required.this
@Stability(value=Experimental) public HttpBackend.Builder lockAddress(String lockAddress)
Defaults to disabled.
lockAddress
- (Optional) The address of the lock REST endpoint. This parameter is required.this
@Stability(value=Experimental) public HttpBackend.Builder lockMethod(String lockMethod)
Defaults to LOCK.
lockMethod
- (Optional) The HTTP method to use when locking. This parameter is required.this
@Stability(value=Experimental) public HttpBackend.Builder password(String password)
password
- (Optional) The password for HTTP basic authentication. This parameter is required.this
@Stability(value=Experimental) public HttpBackend.Builder retryMax(Number retryMax)
Defaults to 2.
retryMax
- (Optional) The number of HTTP request retries. This parameter is required.this
@Stability(value=Experimental) public HttpBackend.Builder retryWaitMax(Number retryWaitMax)
Defaults to 30.
retryWaitMax
- (Optional) The maximum time in seconds to wait between HTTP request attempts. This parameter is required.this
@Stability(value=Experimental) public HttpBackend.Builder retryWaitMin(Number retryWaitMin)
Defaults to 1.
retryWaitMin
- (Optional) The minimum time in seconds to wait between HTTP request attempts. This parameter is required.this
@Stability(value=Experimental) public HttpBackend.Builder skipCertVerification(Boolean skipCertVerification)
Defaults to false.
skipCertVerification
- (Optional) Whether to skip TLS verification. This parameter is required.this
@Stability(value=Experimental) public HttpBackend.Builder unlockAddress(String unlockAddress)
Defaults to disabled.
unlockAddress
- (Optional) The address of the unlock REST endpoint. This parameter is required.this
@Stability(value=Experimental) public HttpBackend.Builder unlockMethod(String unlockMethod)
Defaults to UNLOCK.
unlockMethod
- (Optional) The HTTP method to use when unlocking. This parameter is required.this
@Stability(value=Experimental) public HttpBackend.Builder updateMethod(String updateMethod)
Defaults to POST.
updateMethod
- (Optional) HTTP method to use when updating state. This parameter is required.this
@Stability(value=Experimental) public HttpBackend.Builder username(String username)
username
- (Optional) The username for HTTP basic authentication. This parameter is required.this
@Stability(value=Experimental) public HttpBackend build()
build
in interface software.amazon.jsii.Builder<HttpBackend>
Copyright © 2023. All rights reserved.