Class CfnApplication.ComponentInfoProperty.Builder
java.lang.Object
software.amazon.awscdk.services.systemsmanagersap.CfnApplication.ComponentInfoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication.ComponentInfoProperty>
- Enclosing interface:
CfnApplication.ComponentInfoProperty
@Stability(Stable)
public static final class CfnApplication.ComponentInfoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication.ComponentInfoProperty>
A builder for
CfnApplication.ComponentInfoProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.componentType(String componentType) Sets the value ofCfnApplication.ComponentInfoProperty.getComponentType()ec2InstanceId(String ec2InstanceId) Sets the value ofCfnApplication.ComponentInfoProperty.getEc2InstanceId()Sets the value ofCfnApplication.ComponentInfoProperty.getSid()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
componentType
@Stability(Stable) public CfnApplication.ComponentInfoProperty.Builder componentType(String componentType) Sets the value ofCfnApplication.ComponentInfoProperty.getComponentType()- Parameters:
componentType- This string is the type of the component. Accepted value isWD.- Returns:
this
-
ec2InstanceId
@Stability(Stable) public CfnApplication.ComponentInfoProperty.Builder ec2InstanceId(String ec2InstanceId) Sets the value ofCfnApplication.ComponentInfoProperty.getEc2InstanceId()- Parameters:
ec2InstanceId- This is the Amazon EC2 instance on which your SAP component is running. Accepted values are alphanumeric.- Returns:
this
-
sid
Sets the value ofCfnApplication.ComponentInfoProperty.getSid()- Parameters:
sid- This string is the SAP System ID of the component. Accepted values are alphanumeric.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplication.ComponentInfoProperty>- Returns:
- a new instance of
CfnApplication.ComponentInfoProperty - Throws:
NullPointerException- if any required attribute was not provided
-