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