Class CfnConnectorDefinitionVersion.ConnectorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.greengrass.CfnConnectorDefinitionVersion.ConnectorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorDefinitionVersion.ConnectorProperty>
- Enclosing interface:
CfnConnectorDefinitionVersion.ConnectorProperty
@Stability(Stable)
public static final class CfnConnectorDefinitionVersion.ConnectorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorDefinitionVersion.ConnectorProperty>
A builder for
CfnConnectorDefinitionVersion.ConnectorProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.connectorArn
(String connectorArn) Sets the value ofCfnConnectorDefinitionVersion.ConnectorProperty.getConnectorArn()
Sets the value ofCfnConnectorDefinitionVersion.ConnectorProperty.getId()
parameters
(Object parameters) Sets the value ofCfnConnectorDefinitionVersion.ConnectorProperty.getParameters()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectorArn
@Stability(Stable) public CfnConnectorDefinitionVersion.ConnectorProperty.Builder connectorArn(String connectorArn) Sets the value ofCfnConnectorDefinitionVersion.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 ofCfnConnectorDefinitionVersion.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 CfnConnectorDefinitionVersion.ConnectorProperty.Builder parameters(Object parameters) Sets the value ofCfnConnectorDefinitionVersion.ConnectorProperty.getParameters()
- Parameters:
parameters
- The parameters or configuration that the connector uses. For more information about connectors provided by AWS , see Greengrass Connectors Provided by AWS .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConnectorDefinitionVersion.ConnectorProperty>
- Returns:
- a new instance of
CfnConnectorDefinitionVersion.ConnectorProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-