public static final class CfnConnectorProfile.ApiKeyCredentialsProperty.Builder
extends java.lang.Object
CfnConnectorProfile.ApiKeyCredentialsProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnConnectorProfile.ApiKeyCredentialsProperty.Builder |
apiKey(java.lang.String apiKey)
Sets the value of
CfnConnectorProfile.ApiKeyCredentialsProperty.getApiKey() |
CfnConnectorProfile.ApiKeyCredentialsProperty.Builder |
apiSecretKey(java.lang.String apiSecretKey)
Sets the value of
CfnConnectorProfile.ApiKeyCredentialsProperty.getApiSecretKey() |
CfnConnectorProfile.ApiKeyCredentialsProperty |
build()
Builds the configured instance.
|
public CfnConnectorProfile.ApiKeyCredentialsProperty.Builder apiKey(java.lang.String apiKey)
CfnConnectorProfile.ApiKeyCredentialsProperty.getApiKey()
apiKey
- The API key required for API key authentication. This parameter is required.this
public CfnConnectorProfile.ApiKeyCredentialsProperty.Builder apiSecretKey(java.lang.String apiSecretKey)
CfnConnectorProfile.ApiKeyCredentialsProperty.getApiSecretKey()
apiSecretKey
- The API secret key required for API key authentication.this
public CfnConnectorProfile.ApiKeyCredentialsProperty build()
CfnConnectorProfile.ApiKeyCredentialsProperty
java.lang.NullPointerException
- if any required attribute was not provided