Class ConnectorProfileReference.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.ConnectorProfileReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ConnectorProfileReference>
- Enclosing interface:
ConnectorProfileReference
@Stability(Stable)
public static final class ConnectorProfileReference.Builder
extends Object
implements software.amazon.jsii.Builder<ConnectorProfileReference>
A builder for
ConnectorProfileReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.connectorProfileArn
(String connectorProfileArn) Sets the value ofConnectorProfileReference.getConnectorProfileArn()
connectorProfileName
(String connectorProfileName) Sets the value ofConnectorProfileReference.getConnectorProfileName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectorProfileArn
@Stability(Stable) public ConnectorProfileReference.Builder connectorProfileArn(String connectorProfileArn) Sets the value ofConnectorProfileReference.getConnectorProfileArn()
- Parameters:
connectorProfileArn
- The ARN of the ConnectorProfile resource. This parameter is required.- Returns:
this
-
connectorProfileName
@Stability(Stable) public ConnectorProfileReference.Builder connectorProfileName(String connectorProfileName) Sets the value ofConnectorProfileReference.getConnectorProfileName()
- Parameters:
connectorProfileName
- The ConnectorProfileName of the ConnectorProfile resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ConnectorProfileReference>
- Returns:
- a new instance of
ConnectorProfileReference
- Throws:
NullPointerException
- if any required attribute was not provided
-