Class CfnIdNamespaceProps.Builder
java.lang.Object
software.amazon.awscdk.services.entityresolution.CfnIdNamespaceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdNamespaceProps>
- Enclosing interface:
CfnIdNamespaceProps
@Stability(Stable)
public static final class CfnIdNamespaceProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdNamespaceProps>
A builder for
CfnIdNamespaceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnIdNamespaceProps.getDescription()idMappingWorkflowProperties(List<? extends Object> idMappingWorkflowProperties) Sets the value ofCfnIdNamespaceProps.getIdMappingWorkflowProperties()idMappingWorkflowProperties(IResolvable idMappingWorkflowProperties) Sets the value ofCfnIdNamespaceProps.getIdMappingWorkflowProperties()idNamespaceName(String idNamespaceName) Sets the value ofCfnIdNamespaceProps.getIdNamespaceName()inputSourceConfig(List<? extends Object> inputSourceConfig) Sets the value ofCfnIdNamespaceProps.getInputSourceConfig()inputSourceConfig(IResolvable inputSourceConfig) Sets the value ofCfnIdNamespaceProps.getInputSourceConfig()Sets the value ofCfnIdNamespaceProps.getRoleArn()Sets the value ofCfnIdNamespaceProps.getTags()Sets the value ofCfnIdNamespaceProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
idNamespaceName
Sets the value ofCfnIdNamespaceProps.getIdNamespaceName()- Parameters:
idNamespaceName- The name of the ID namespace. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnIdNamespaceProps.getType()- Parameters:
type- The type of ID namespace. There are two types:SOURCEandTARGET. This parameter is required. TheSOURCEcontains configurations forsourceIddata that will be processed in an ID mapping workflow.The
TARGETcontains a configuration oftargetIdwhich allsourceIdswill resolve to.- Returns:
this
-
description
Sets the value ofCfnIdNamespaceProps.getDescription()- Parameters:
description- The description of the ID namespace.- Returns:
this
-
idMappingWorkflowProperties
@Stability(Stable) public CfnIdNamespaceProps.Builder idMappingWorkflowProperties(IResolvable idMappingWorkflowProperties) Sets the value ofCfnIdNamespaceProps.getIdMappingWorkflowProperties()- Parameters:
idMappingWorkflowProperties- Determines the properties ofIdMappingWorflowwhere thisIdNamespacecan be used as aSourceor aTarget.- Returns:
this
-
idMappingWorkflowProperties
@Stability(Stable) public CfnIdNamespaceProps.Builder idMappingWorkflowProperties(List<? extends Object> idMappingWorkflowProperties) Sets the value ofCfnIdNamespaceProps.getIdMappingWorkflowProperties()- Parameters:
idMappingWorkflowProperties- Determines the properties ofIdMappingWorflowwhere thisIdNamespacecan be used as aSourceor aTarget.- Returns:
this
-
inputSourceConfig
@Stability(Stable) public CfnIdNamespaceProps.Builder inputSourceConfig(IResolvable inputSourceConfig) Sets the value ofCfnIdNamespaceProps.getInputSourceConfig()- Parameters:
inputSourceConfig- A list ofInputSourceobjects, which have the fieldsInputSourceARNandSchemaName.- Returns:
this
-
inputSourceConfig
@Stability(Stable) public CfnIdNamespaceProps.Builder inputSourceConfig(List<? extends Object> inputSourceConfig) Sets the value ofCfnIdNamespaceProps.getInputSourceConfig()- Parameters:
inputSourceConfig- A list ofInputSourceobjects, which have the fieldsInputSourceARNandSchemaName.- Returns:
this
-
roleArn
Sets the value ofCfnIdNamespaceProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role. AWS Entity Resolution assumes this role to access the resources defined in thisIdNamespaceon your behalf as part of the workflow run.- Returns:
this
-
tags
Sets the value ofCfnIdNamespaceProps.getTags()- Parameters:
tags- The tags used to organize, track, or control access for this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIdNamespaceProps>- Returns:
- a new instance of
CfnIdNamespaceProps - Throws:
NullPointerException- if any required attribute was not provided
-