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
-
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:SOURCE
andTARGET
. This parameter is required. TheSOURCE
contains configurations forsourceId
data that will be processed in an ID mapping workflow.The
TARGET
contains a configuration oftargetId
which allsourceIds
will 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 ofIdMappingWorflow
where thisIdNamespace
can be used as aSource
or aTarget
.- Returns:
this
-
idMappingWorkflowProperties
@Stability(Stable) public CfnIdNamespaceProps.Builder idMappingWorkflowProperties(List<? extends Object> idMappingWorkflowProperties) Sets the value ofCfnIdNamespaceProps.getIdMappingWorkflowProperties()
- Parameters:
idMappingWorkflowProperties
- Determines the properties ofIdMappingWorflow
where thisIdNamespace
can be used as aSource
or aTarget
.- Returns:
this
-
inputSourceConfig
@Stability(Stable) public CfnIdNamespaceProps.Builder inputSourceConfig(IResolvable inputSourceConfig) Sets the value ofCfnIdNamespaceProps.getInputSourceConfig()
- Parameters:
inputSourceConfig
- A list ofInputSource
objects, which have the fieldsInputSourceARN
andSchemaName
.- Returns:
this
-
inputSourceConfig
@Stability(Stable) public CfnIdNamespaceProps.Builder inputSourceConfig(List<? extends Object> inputSourceConfig) Sets the value ofCfnIdNamespaceProps.getInputSourceConfig()
- Parameters:
inputSourceConfig
- A list ofInputSource
objects, which have the fieldsInputSourceARN
andSchemaName
.- 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 thisIdNamespace
on 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnIdNamespaceProps>
- Returns:
- a new instance of
CfnIdNamespaceProps
- Throws:
NullPointerException
- if any required attribute was not provided
-