Class CfnConnectorProfilePropsMixin.ApiKeyCredentialsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appflow.CfnConnectorProfilePropsMixin.ApiKeyCredentialsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.ApiKeyCredentialsProperty>
- Enclosing interface:
CfnConnectorProfilePropsMixin.ApiKeyCredentialsProperty
@Stability(Stable)
public static final class CfnConnectorProfilePropsMixin.ApiKeyCredentialsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.ApiKeyCredentialsProperty>
A builder for
CfnConnectorProfilePropsMixin.ApiKeyCredentialsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnConnectorProfilePropsMixin.ApiKeyCredentialsProperty.getApiKey()apiSecretKey(String apiSecretKey) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiKey
@Stability(Stable) public CfnConnectorProfilePropsMixin.ApiKeyCredentialsProperty.Builder apiKey(String apiKey) Sets the value ofCfnConnectorProfilePropsMixin.ApiKeyCredentialsProperty.getApiKey()- Parameters:
apiKey- The API key required for API key authentication.- Returns:
this
-
apiSecretKey
@Stability(Stable) public CfnConnectorProfilePropsMixin.ApiKeyCredentialsProperty.Builder apiSecretKey(String apiSecretKey) - Parameters:
apiSecretKey- The API secret key required for API key authentication.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.ApiKeyCredentialsProperty>- Returns:
- a new instance of
CfnConnectorProfilePropsMixin.ApiKeyCredentialsProperty - Throws:
NullPointerException- if any required attribute was not provided
-