Class CfnApplicationProps.Builder
java.lang.Object
software.amazon.awscdk.services.systemsmanagersap.CfnApplicationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationProps>
- Enclosing interface:
CfnApplicationProps
@Stability(Stable)
public static final class CfnApplicationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationProps>
A builder for
CfnApplicationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) Sets the value ofCfnApplicationProps.getApplicationId()applicationType(String applicationType) Sets the value ofCfnApplicationProps.getApplicationType()build()Builds the configured instance.componentsInfo(List<? extends Object> componentsInfo) Sets the value ofCfnApplicationProps.getComponentsInfo()componentsInfo(IResolvable componentsInfo) Sets the value ofCfnApplicationProps.getComponentsInfo()credentials(List<? extends Object> credentials) Sets the value ofCfnApplicationProps.getCredentials()credentials(IResolvable credentials) Sets the value ofCfnApplicationProps.getCredentials()databaseArn(String databaseArn) Sets the value ofCfnApplicationProps.getDatabaseArn()Sets the value ofCfnApplicationProps.getInstances()sapInstanceNumber(String sapInstanceNumber) Sets the value ofCfnApplicationProps.getSapInstanceNumber()Sets the value ofCfnApplicationProps.getSid()Sets the value ofCfnApplicationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
Sets the value ofCfnApplicationProps.getApplicationId()- Parameters:
applicationId- The ID of the application. This parameter is required.- Returns:
this
-
applicationType
Sets the value ofCfnApplicationProps.getApplicationType()- Parameters:
applicationType- The type of the application. This parameter is required.- Returns:
this
-
componentsInfo
Sets the value ofCfnApplicationProps.getComponentsInfo()- Parameters:
componentsInfo- This is an optional parameter for component details to which the SAP ABAP application is attached, such as Web Dispatcher.- Returns:
this
-
componentsInfo
@Stability(Stable) public CfnApplicationProps.Builder componentsInfo(List<? extends Object> componentsInfo) Sets the value ofCfnApplicationProps.getComponentsInfo()- Parameters:
componentsInfo- This is an optional parameter for component details to which the SAP ABAP application is attached, such as Web Dispatcher.- Returns:
this
-
credentials
Sets the value ofCfnApplicationProps.getCredentials()- Parameters:
credentials- The credentials of the SAP application.- Returns:
this
-
credentials
@Stability(Stable) public CfnApplicationProps.Builder credentials(List<? extends Object> credentials) Sets the value ofCfnApplicationProps.getCredentials()- Parameters:
credentials- The credentials of the SAP application.- Returns:
this
-
databaseArn
Sets the value ofCfnApplicationProps.getDatabaseArn()- Parameters:
databaseArn- The Amazon Resource Name (ARN) of the database.- Returns:
this
-
instances
Sets the value ofCfnApplicationProps.getInstances()- Parameters:
instances- The Amazon EC2 instances on which your SAP application is running.- Returns:
this
-
sapInstanceNumber
Sets the value ofCfnApplicationProps.getSapInstanceNumber()- Parameters:
sapInstanceNumber- The SAP instance number of the application.- Returns:
this
-
sid
Sets the value ofCfnApplicationProps.getSid()- Parameters:
sid- The System ID of the application.- Returns:
this
-
tags
Sets the value ofCfnApplicationProps.getTags()- Parameters:
tags- The tags on the application.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationProps>- Returns:
- a new instance of
CfnApplicationProps - Throws:
NullPointerException- if any required attribute was not provided
-