Class CfnConnectorProps.Builder
java.lang.Object
software.amazon.awscdk.services.securityhub.CfnConnectorProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorProps>
- Enclosing interface:
CfnConnectorProps
@Stability(Stable)
public static final class CfnConnectorProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorProps>
A builder for
CfnConnectorProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnConnectorProps.getDescription()Sets the value ofCfnConnectorProps.getName()provider(IResolvable provider) Sets the value ofCfnConnectorProps.getProvider()provider(CfnConnector.ProviderProperty provider) Sets the value ofCfnConnectorProps.getProvider()Sets the value ofCfnConnectorProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnConnectorProps.getName()- Parameters:
name- The name of the connector. This parameter is required.- Returns:
this
-
provider
Sets the value ofCfnConnectorProps.getProvider()- Parameters:
provider- the value to be set. This parameter is required.- Returns:
this
-
provider
@Stability(Stable) public CfnConnectorProps.Builder provider(CfnConnector.ProviderProperty provider) Sets the value ofCfnConnectorProps.getProvider()- Parameters:
provider- the value to be set. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnConnectorProps.getDescription()- Parameters:
description- The description of the connector.- Returns:
this
-
tags
Sets the value ofCfnConnectorProps.getTags()- Parameters:
tags- A key-value pair to associate with a resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorProps>- Returns:
- a new instance of
CfnConnectorProps - Throws:
NullPointerException- if any required attribute was not provided
-