Class CfnConnectorDefinition.ConnectorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnConnectorDefinition.ConnectorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorDefinition.ConnectorProperty>
- Enclosing interface:
- CfnConnectorDefinition.ConnectorProperty
@Stability(Stable)
public static final class CfnConnectorDefinition.ConnectorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorDefinition.ConnectorProperty>
A builder for
CfnConnectorDefinition.ConnectorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectorArn(String connectorArn) Sets the value ofCfnConnectorDefinition.ConnectorProperty.getConnectorArn()Sets the value ofCfnConnectorDefinition.ConnectorProperty.getId()parameters(Object parameters) Sets the value ofCfnConnectorDefinition.ConnectorProperty.getParameters()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectorArn
@Stability(Stable) public CfnConnectorDefinition.ConnectorProperty.Builder connectorArn(String connectorArn) Sets the value ofCfnConnectorDefinition.ConnectorProperty.getConnectorArn()- Parameters:
connectorArn- The Amazon Resource Name (ARN) of the connector. This parameter is required. For more information about connectors provided by AWS , see Greengrass Connectors Provided by AWS .- Returns:
this
-
id
Sets the value ofCfnConnectorDefinition.ConnectorProperty.getId()- Parameters:
id- A descriptive or arbitrary ID for the connector. This parameter is required. This value must be unique within the connector definition version. Maximum length is 128 characters with pattern[a-zA-Z0-9:_-]+.- Returns:
this
-
parameters
@Stability(Stable) public CfnConnectorDefinition.ConnectorProperty.Builder parameters(Object parameters) Sets the value ofCfnConnectorDefinition.ConnectorProperty.getParameters()- Parameters:
parameters- The parameters or configuration used by the connector. For more information about connectors provided by AWS , see Greengrass Connectors Provided by AWS .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorDefinition.ConnectorProperty>- Returns:
- a new instance of
CfnConnectorDefinition.ConnectorProperty - Throws:
NullPointerException- if any required attribute was not provided
-