Class CfnApplication.CredentialProperty.Builder
java.lang.Object
software.amazon.awscdk.services.systemsmanagersap.CfnApplication.CredentialProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.CredentialProperty>
- Enclosing interface:
CfnApplication.CredentialProperty
@Stability(Stable)
public static final class CfnApplication.CredentialProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.CredentialProperty>
A builder for
CfnApplication.CredentialProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.credentialType(String credentialType) Sets the value ofCfnApplication.CredentialProperty.getCredentialType()databaseName(String databaseName) Sets the value ofCfnApplication.CredentialProperty.getDatabaseName()Sets the value ofCfnApplication.CredentialProperty.getSecretId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
credentialType
@Stability(Stable) public CfnApplication.CredentialProperty.Builder credentialType(String credentialType) Sets the value ofCfnApplication.CredentialProperty.getCredentialType()- Parameters:
credentialType- The type of the application credentials.- Returns:
this
-
databaseName
@Stability(Stable) public CfnApplication.CredentialProperty.Builder databaseName(String databaseName) Sets the value ofCfnApplication.CredentialProperty.getDatabaseName()- Parameters:
databaseName- The name of the SAP HANA database.- Returns:
this
-
secretId
Sets the value ofCfnApplication.CredentialProperty.getSecretId()- Parameters:
secretId- The secret ID created in AWS Secrets Manager to store the credentials of the SAP application.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplication.CredentialProperty>- Returns:
- a new instance of
CfnApplication.CredentialProperty - Throws:
NullPointerException- if any required attribute was not provided
-