@Stability(value=Stable) public static final class OAuthAuthorizationProps.Builder extends Object implements software.amazon.jsii.Builder<OAuthAuthorizationProps>
OAuthAuthorizationProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public OAuthAuthorizationProps.Builder authorizationEndpoint(String authorizationEndpoint)
OAuthAuthorizationProps.getAuthorizationEndpoint()authorizationEndpoint - The URL to the authorization endpoint. This parameter is required.this@Stability(value=Stable) public OAuthAuthorizationProps.Builder clientId(String clientId)
OAuthAuthorizationProps.getClientId()clientId - The client ID to use for OAuth authorization for the connection. This parameter is required.this@Stability(value=Stable) public OAuthAuthorizationProps.Builder clientSecret(SecretValue clientSecret)
OAuthAuthorizationProps.getClientSecret()clientSecret - The client secret associated with the client ID to use for OAuth authorization for the connection. This parameter is required.this@Stability(value=Stable) public OAuthAuthorizationProps.Builder httpMethod(HttpMethod httpMethod)
OAuthAuthorizationProps.getHttpMethod()httpMethod - The method to use for the authorization request. This parameter is required.
(Can only choose POST, GET or PUT).this@Stability(value=Stable) public OAuthAuthorizationProps.Builder bodyParameters(Map<String,? extends HttpParameter> bodyParameters)
OAuthAuthorizationProps.getBodyParameters()bodyParameters - Additional string parameters to add to the OAuth request body.this@Stability(value=Stable) public OAuthAuthorizationProps.Builder headerParameters(Map<String,? extends HttpParameter> headerParameters)
OAuthAuthorizationProps.getHeaderParameters()headerParameters - Additional string parameters to add to the OAuth request header.this@Stability(value=Stable) public OAuthAuthorizationProps.Builder queryStringParameters(Map<String,? extends HttpParameter> queryStringParameters)
OAuthAuthorizationProps.getQueryStringParameters()queryStringParameters - Additional string parameters to add to the OAuth request query string.this@Stability(value=Stable) public OAuthAuthorizationProps build()
build in interface software.amazon.jsii.Builder<OAuthAuthorizationProps>OAuthAuthorizationPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.