@Stability(value=Stable)
public static interface CfnConnectorProfile.CustomConnectorProfileCredentialsProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appflow.*;
Object credentialsMap;
CustomConnectorProfileCredentialsProperty customConnectorProfileCredentialsProperty = CustomConnectorProfileCredentialsProperty.builder()
.authenticationType("authenticationType")
// the properties below are optional
.apiKey(ApiKeyCredentialsProperty.builder()
.apiKey("apiKey")
// the properties below are optional
.apiSecretKey("apiSecretKey")
.build())
.basic(BasicAuthCredentialsProperty.builder()
.password("password")
.username("username")
.build())
.custom(CustomAuthCredentialsProperty.builder()
.customAuthenticationType("customAuthenticationType")
// the properties below are optional
.credentialsMap(credentialsMap)
.build())
.oauth2(OAuth2CredentialsProperty.builder()
.accessToken("accessToken")
.clientId("clientId")
.clientSecret("clientSecret")
.oAuthRequest(ConnectorOAuthRequestProperty.builder()
.authCode("authCode")
.redirectUri("redirectUri")
.build())
.refreshToken("refreshToken")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnConnectorProfile.CustomConnectorProfileCredentialsProperty.Builder
|
static class |
CfnConnectorProfile.CustomConnectorProfileCredentialsProperty.Jsii$Proxy
An implementation for
CfnConnectorProfile.CustomConnectorProfileCredentialsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnConnectorProfile.CustomConnectorProfileCredentialsProperty.Builder |
builder() |
default Object |
getApiKey()
`CfnConnectorProfile.CustomConnectorProfileCredentialsProperty.ApiKey`.
|
String |
getAuthenticationType()
`CfnConnectorProfile.CustomConnectorProfileCredentialsProperty.AuthenticationType`.
|
default Object |
getBasic()
`CfnConnectorProfile.CustomConnectorProfileCredentialsProperty.Basic`.
|
default Object |
getCustom()
`CfnConnectorProfile.CustomConnectorProfileCredentialsProperty.Custom`.
|
default Object |
getOauth2()
`CfnConnectorProfile.CustomConnectorProfileCredentialsProperty.Oauth2`.
|
@Stability(value=Stable) @NotNull String getAuthenticationType()
@Stability(value=Stable) @Nullable default Object getApiKey()
@Stability(value=Stable) @Nullable default Object getBasic()
@Stability(value=Stable) @Nullable default Object getCustom()
@Stability(value=Stable) @Nullable default Object getOauth2()
@Stability(value=Stable) static CfnConnectorProfile.CustomConnectorProfileCredentialsProperty.Builder builder()
Copyright © 2022. All rights reserved.