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