Class CfnDataIntegrationProps.Builder
java.lang.Object
software.amazon.awscdk.services.appintegrations.CfnDataIntegrationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataIntegrationProps>
- Enclosing interface:
CfnDataIntegrationProps
@Stability(Stable)
public static final class CfnDataIntegrationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataIntegrationProps>
A builder for
CfnDataIntegrationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnDataIntegrationProps.getDescription()fileConfiguration(IResolvable fileConfiguration) Sets the value ofCfnDataIntegrationProps.getFileConfiguration()fileConfiguration(CfnDataIntegration.FileConfigurationProperty fileConfiguration) Sets the value ofCfnDataIntegrationProps.getFileConfiguration()Sets the value ofCfnDataIntegrationProps.getKmsKey()Sets the value ofCfnDataIntegrationProps.getName()objectConfiguration(Object objectConfiguration) Sets the value ofCfnDataIntegrationProps.getObjectConfiguration()scheduleConfig(IResolvable scheduleConfig) Sets the value ofCfnDataIntegrationProps.getScheduleConfig()scheduleConfig(CfnDataIntegration.ScheduleConfigProperty scheduleConfig) Sets the value ofCfnDataIntegrationProps.getScheduleConfig()Sets the value ofCfnDataIntegrationProps.getSourceUri()Sets the value ofCfnDataIntegrationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKey
Sets the value ofCfnDataIntegrationProps.getKmsKey()- Parameters:
kmsKey- The KMS key for the DataIntegration. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnDataIntegrationProps.getName()- Parameters:
name- The name of the DataIntegration. This parameter is required.- Returns:
this
-
sourceUri
Sets the value ofCfnDataIntegrationProps.getSourceUri()- Parameters:
sourceUri- The URI of the data source. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnDataIntegrationProps.getDescription()- Parameters:
description- A description of the DataIntegration.- Returns:
this
-
fileConfiguration
@Stability(Stable) public CfnDataIntegrationProps.Builder fileConfiguration(IResolvable fileConfiguration) Sets the value ofCfnDataIntegrationProps.getFileConfiguration()- Parameters:
fileConfiguration- The configuration for what files should be pulled from the source.- Returns:
this
-
fileConfiguration
@Stability(Stable) public CfnDataIntegrationProps.Builder fileConfiguration(CfnDataIntegration.FileConfigurationProperty fileConfiguration) Sets the value ofCfnDataIntegrationProps.getFileConfiguration()- Parameters:
fileConfiguration- The configuration for what files should be pulled from the source.- Returns:
this
-
objectConfiguration
@Stability(Stable) public CfnDataIntegrationProps.Builder objectConfiguration(Object objectConfiguration) Sets the value ofCfnDataIntegrationProps.getObjectConfiguration()- Parameters:
objectConfiguration- The configuration for what data should be pulled from the source.- Returns:
this
-
scheduleConfig
@Stability(Stable) public CfnDataIntegrationProps.Builder scheduleConfig(IResolvable scheduleConfig) Sets the value ofCfnDataIntegrationProps.getScheduleConfig()- Parameters:
scheduleConfig- The name of the data and how often it should be pulled from the source.- Returns:
this
-
scheduleConfig
@Stability(Stable) public CfnDataIntegrationProps.Builder scheduleConfig(CfnDataIntegration.ScheduleConfigProperty scheduleConfig) Sets the value ofCfnDataIntegrationProps.getScheduleConfig()- Parameters:
scheduleConfig- The name of the data and how often it should be pulled from the source.- Returns:
this
-
tags
Sets the value ofCfnDataIntegrationProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataIntegrationProps>- Returns:
- a new instance of
CfnDataIntegrationProps - Throws:
NullPointerException- if any required attribute was not provided
-