@Stability(value=Stable) public static final class CfnConnectionProps.Builder extends Object implements software.amazon.jsii.Builder<CfnConnectionProps>
CfnConnectionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnConnectionProps.Builder |
authorizationType(String authorizationType)
Sets the value of
CfnConnectionProps.getAuthorizationType() |
CfnConnectionProps.Builder |
authParameters(CfnConnection.AuthParametersProperty authParameters)
Sets the value of
CfnConnectionProps.getAuthParameters() |
CfnConnectionProps.Builder |
authParameters(IResolvable authParameters)
Sets the value of
CfnConnectionProps.getAuthParameters() |
CfnConnectionProps |
build()
Builds the configured instance.
|
CfnConnectionProps.Builder |
description(String description)
Sets the value of
CfnConnectionProps.getDescription() |
CfnConnectionProps.Builder |
name(String name)
Sets the value of
CfnConnectionProps.getName() |
@Stability(value=Stable) public CfnConnectionProps.Builder authorizationType(String authorizationType)
CfnConnectionProps.getAuthorizationType()authorizationType - The type of authorization to use for the connection. This parameter is required.
OAUTH tokens are refreshed when a 401 or 407 response is returned.
this@Stability(value=Stable) public CfnConnectionProps.Builder authParameters(CfnConnection.AuthParametersProperty authParameters)
CfnConnectionProps.getAuthParameters()authParameters - A `CreateConnectionAuthRequestParameters` object that contains the authorization parameters to use to authorize with the endpoint. This parameter is required.this@Stability(value=Stable) public CfnConnectionProps.Builder authParameters(IResolvable authParameters)
CfnConnectionProps.getAuthParameters()authParameters - A `CreateConnectionAuthRequestParameters` object that contains the authorization parameters to use to authorize with the endpoint. This parameter is required.this@Stability(value=Stable) public CfnConnectionProps.Builder description(String description)
CfnConnectionProps.getDescription()description - A description for the connection to create.this@Stability(value=Stable) public CfnConnectionProps.Builder name(String name)
CfnConnectionProps.getName()name - The name for the connection to create.this@Stability(value=Stable) public CfnConnectionProps build()
build in interface software.amazon.jsii.Builder<CfnConnectionProps>CfnConnectionPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.