/** This is an automatically generated code sample. 
To make this code sample work in your Oracle Cloud tenancy, 
please replace the values for any parameters whose current values do not fit
your use case (such as resource IDs, strings containing ‘EXAMPLE’ or ‘unique_id’, and 
boolean, number, and enum parameters with values not fitting your use case).
*/

import com.oracle.bmc.ConfigFileReader;
import com.oracle.bmc.auth.AuthenticationDetailsProvider;
import com.oracle.bmc.auth.ConfigFileAuthenticationDetailsProvider;
import com.oracle.bmc.dataintegration.DataIntegrationClient;
import com.oracle.bmc.dataintegration.model.*;
import com.oracle.bmc.dataintegration.requests.*;
import com.oracle.bmc.dataintegration.responses.*;
import java.math.BigDecimal;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Date;
import java.util.Arrays;


public class CreateTaskExample {
    public static void main(String[] args) throws Exception {

        /**
         * Create a default authentication provider that uses the DEFAULT
         * profile in the configuration file.
         * Refer to <see href="https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm#SDK_and_CLI_Configuration_File>the public documentation</see> on how to prepare a configuration file.
         */
        final ConfigFileReader.ConfigFile configFile = ConfigFileReader.parseDefault();
        final AuthenticationDetailsProvider provider = new ConfigFileAuthenticationDetailsProvider(configFile);

        /* Create a service client */
        DataIntegrationClient client = new DataIntegrationClient(provider);

        /* Create a request and dependent object(s). */
	CreateTaskDetails createTaskDetails = CreateTaskFromIntegrationTask.builder()
		.dataFlow(DataFlow.builder()
			.key("EXAMPLE-key-Value")
			.modelType("EXAMPLE-modelType-Value")
			.modelVersion("EXAMPLE-modelVersion-Value")
			.parentRef(ParentReference.builder()
				.parent("EXAMPLE-parent-Value").build())
			.name("EXAMPLE-name-Value")
			.identifier("EXAMPLE-identifier-Value")
			.objectVersion(18)
			.nodes(new ArrayList<>(Arrays.asList(FlowNode.builder()
					.key("EXAMPLE-key-Value")
					.modelType("EXAMPLE-modelType-Value")
					.modelVersion("EXAMPLE-modelVersion-Value")
					.parentRef(ParentReference.builder()
						.parent("EXAMPLE-parent-Value").build())
					.name("EXAMPLE-name-Value")
					.description("EXAMPLE-description-Value")
					.inputLinks(new ArrayList<>(Arrays.asList(InputLink.builder()
							.fromLink("EXAMPLE-fromLink-Value")
							.fieldMap(RuleBasedFieldMap.builder()
								.key("EXAMPLE-key-Value")
								.modelVersion("EXAMPLE-modelVersion-Value")
								.parentRef(ParentReference.builder()
									.parent("EXAMPLE-parent-Value").build())
								.configValues(ConfigValues.builder()
									.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
											{
												put("EXAMPLE_KEY_FDDIt",ConfigParameterValue.builder()
											.stringValue("EXAMPLE-stringValue-Value")
											.intValue(885)
											.refValue("EXAMPLE-refValue-Value")
											.parameterValue("EXAMPLE-parameterValue-Value").build());
											}
 										})
									.parentRef(ParentReference.builder()
										.parent("EXAMPLE-parent-Value").build()).build())
								.mapType(RuleBasedFieldMap.MapType.Mapbyname)
								.fromPattern("EXAMPLE-fromPattern-Value")
								.toPattern("EXAMPLE-toPattern-Value")
								.isJavaRegexSyntax(true)
								.objectStatus(445)
								.fromRuleConfig(RuleTypeConfig.builder()
									.key("EXAMPLE-key-Value")
									.modelVersion("EXAMPLE-modelVersion-Value")
									.parentRef(ParentReference.builder()
										.parent("EXAMPLE-parent-Value").build())
									.scope("EXAMPLE-scope-Value")
									.isOrderByRule(true)
									.projectionRules(new ArrayList<>(Arrays.asList(TypedNamePatternRule.builder()
											.types(new ArrayList<>(Arrays.asList("EXAMPLE-types-Value")))
											.isSkipRemainingRulesOnMatch(true)
											.scope("EXAMPLE-scope-Value")
											.isCascade(true)
											.matchingStrategy(TypedNamePatternRule.MatchingStrategy.NameOrTags)
											.isCaseSensitive(false)
											.ruleType(TypedNamePatternRule.RuleType.Exclude)
											.pattern("EXAMPLE-pattern-Value")
											.names(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
											.key("EXAMPLE-key-Value")
											.modelVersion("EXAMPLE-modelVersion-Value")
											.parentRef(ParentReference.builder()
												.parent("EXAMPLE-parent-Value").build())
											.isJavaRegexSyntax(true)
											.configValues(ConfigValues.builder()
												.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
														{
															put("EXAMPLE_KEY_k5j0z",ConfigParameterValue.builder()
														.stringValue("EXAMPLE-stringValue-Value")
														.intValue(611)
														.refValue("EXAMPLE-refValue-Value")
														.parameterValue("EXAMPLE-parameterValue-Value").build());
														}
 													})
												.parentRef(ParentReference.builder()
													.parent("EXAMPLE-parent-Value").build()).build())
											.objectStatus(761)
											.description("EXAMPLE-description-Value").build())))
									.configValues(ConfigValues.builder()
										.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
												{
													put("EXAMPLE_KEY_5DeDQ",ConfigParameterValue.builder()
												.stringValue("EXAMPLE-stringValue-Value")
												.intValue(422)
												.refValue("EXAMPLE-refValue-Value")
												.parameterValue("EXAMPLE-parameterValue-Value").build());
												}
 											})
										.parentRef(ParentReference.builder()
											.parent("EXAMPLE-parent-Value").build()).build())
									.objectStatus(634).build())
								.toRuleConfig(RuleTypeConfig.builder()
									.key("EXAMPLE-key-Value")
									.modelVersion("EXAMPLE-modelVersion-Value")
									.parentRef(ParentReference.builder()
										.parent("EXAMPLE-parent-Value").build())
									.scope("EXAMPLE-scope-Value")
									.isOrderByRule(true)
									.projectionRules(new ArrayList<>(Arrays.asList(NamePatternRule.builder()
											.isSkipRemainingRulesOnMatch(true)
											.scope("EXAMPLE-scope-Value")
											.isCascade(true)
											.matchingStrategy(NamePatternRule.MatchingStrategy.NameOrTags)
											.isCaseSensitive(false)
											.ruleType(NamePatternRule.RuleType.Include)
											.pattern("EXAMPLE-pattern-Value")
											.key("EXAMPLE-key-Value")
											.modelVersion("EXAMPLE-modelVersion-Value")
											.parentRef(ParentReference.builder()
												.parent("EXAMPLE-parent-Value").build())
											.isJavaRegexSyntax(false)
											.configValues(ConfigValues.builder()
												.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
														{
															put("EXAMPLE_KEY_0OA65",ConfigParameterValue.builder()
														.stringValue("EXAMPLE-stringValue-Value")
														.intValue(997)
														.refValue("EXAMPLE-refValue-Value")
														.parameterValue("EXAMPLE-parameterValue-Value").build());
														}
 													})
												.parentRef(ParentReference.builder()
													.parent("EXAMPLE-parent-Value").build()).build())
											.objectStatus(633)
											.description("EXAMPLE-description-Value").build())))
									.configValues(ConfigValues.builder()
										.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
												{
													put("EXAMPLE_KEY_ONmNb",ConfigParameterValue.builder()
												.stringValue("EXAMPLE-stringValue-Value")
												.intValue(692)
												.refValue("EXAMPLE-refValue-Value")
												.parameterValue("EXAMPLE-parameterValue-Value").build());
												}
 											})
										.parentRef(ParentReference.builder()
											.parent("EXAMPLE-parent-Value").build()).build())
									.objectStatus(981).build())
								.description("EXAMPLE-description-Value").build())
							.key("EXAMPLE-key-Value")
							.modelVersion("EXAMPLE-modelVersion-Value")
							.parentRef(ParentReference.builder()
								.parent("EXAMPLE-parent-Value").build())
							.objectStatus(123)
							.description("EXAMPLE-description-Value")
							.port("EXAMPLE-port-Value").build())))
					.outputLinks(new ArrayList<>(Arrays.asList(OutputLink.builder()
							.toLinks(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
							.key("EXAMPLE-key-Value")
							.modelVersion("EXAMPLE-modelVersion-Value")
							.parentRef(ParentReference.builder()
								.parent("EXAMPLE-parent-Value").build())
							.objectStatus(693)
							.description("EXAMPLE-description-Value")
							.port("EXAMPLE-port-Value").build())))
					.operator(SortOper.builder()
						.sortKey(SortKey.builder()
							.sortRules(new ArrayList<>(Arrays.asList(SortKeyRule.builder()
									.wrappedRule(NamePatternRule.builder()
										.isSkipRemainingRulesOnMatch(false)
										.scope("EXAMPLE-scope-Value")
										.isCascade(false)
										.matchingStrategy(NamePatternRule.MatchingStrategy.TagsOnly)
										.isCaseSensitive(true)
										.ruleType(NamePatternRule.RuleType.Exclude)
										.pattern("EXAMPLE-pattern-Value")
										.key("EXAMPLE-key-Value")
										.modelVersion("EXAMPLE-modelVersion-Value")
										.parentRef(ParentReference.builder()
											.parent("EXAMPLE-parent-Value").build())
										.isJavaRegexSyntax(false)
										.configValues(ConfigValues.builder()
											.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
													{
														put("EXAMPLE_KEY_HdJgk",ConfigParameterValue.builder()
													.stringValue("EXAMPLE-stringValue-Value")
													.intValue(182)
													.refValue("EXAMPLE-refValue-Value")
													.parameterValue("EXAMPLE-parameterValue-Value").build());
													}
 												})
											.parentRef(ParentReference.builder()
												.parent("EXAMPLE-parent-Value").build()).build())
										.objectStatus(534)
										.description("EXAMPLE-description-Value").build())
									.isAscending(true).build()))).build())
						.key("EXAMPLE-key-Value")
						.modelVersion("EXAMPLE-modelVersion-Value")
						.parentRef(ParentReference.builder()
							.parent("EXAMPLE-parent-Value").build())
						.name("EXAMPLE-name-Value")
						.description("EXAMPLE-description-Value")
						.objectVersion(784)
						.inputPorts(new ArrayList<>(Arrays.asList(InputPort.builder()
								.portType(InputPort.PortType.Model)
								.fields(new ArrayList<>(Arrays.asList(OutputPort.builder()
										.portType(OutputPort.PortType.Control)
										.key("EXAMPLE-key-Value")
										.modelVersion("EXAMPLE-modelVersion-Value")
										.parentRef(ParentReference.builder()
											.parent("EXAMPLE-parent-Value").build())
										.configValues(ConfigValues.builder()
											.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
													{
														put("EXAMPLE_KEY_ii9fn",ConfigParameterValue.builder()
													.stringValue("EXAMPLE-stringValue-Value")
													.intValue(836)
													.refValue("EXAMPLE-refValue-Value")
													.parameterValue("EXAMPLE-parameterValue-Value").build());
													}
 												})
											.parentRef(ParentReference.builder()
												.parent("EXAMPLE-parent-Value").build()).build())
										.objectStatus(477)
										.name("EXAMPLE-name-Value")
										.description("EXAMPLE-description-Value").build())))
								.key("EXAMPLE-key-Value")
								.modelVersion("EXAMPLE-modelVersion-Value")
								.parentRef(ParentReference.builder()
									.parent("EXAMPLE-parent-Value").build())
								.configValues(ConfigValues.builder()
									.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
											{
												put("EXAMPLE_KEY_XcfAd",ConfigParameterValue.builder()
											.stringValue("EXAMPLE-stringValue-Value")
											.intValue(110)
											.refValue("EXAMPLE-refValue-Value")
											.parameterValue("EXAMPLE-parameterValue-Value").build());
											}
 										})
									.parentRef(ParentReference.builder()
										.parent("EXAMPLE-parent-Value").build()).build())
								.objectStatus(808)
								.name("EXAMPLE-name-Value")
								.description("EXAMPLE-description-Value").build())))
						.outputPorts(new ArrayList<>(Arrays.asList(OutputPort.builder()
								.portType(OutputPort.PortType.Control)
								.fields(new ArrayList<>(Arrays.asList(Parameter.builder()
										.type(ConfiguredType.builder()
											.wrappedType("EXAMPLE-wrappedType-Value")
											.configValues(ConfigValues.builder()
												.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
														{
															put("EXAMPLE_KEY_BT4h2",ConfigParameterValue.builder()
														.stringValue("EXAMPLE-stringValue-Value")
														.intValue(852)
														.refValue("EXAMPLE-refValue-Value")
														.parameterValue("EXAMPLE-parameterValue-Value").build());
														}
 													})
												.parentRef(ParentReference.builder()
													.parent("EXAMPLE-parent-Value").build()).build())
											.configDefinition(ConfigDefinition.builder()
												.key("EXAMPLE-key-Value")
												.modelType("EXAMPLE-modelType-Value")
												.modelVersion("EXAMPLE-modelVersion-Value")
												.parentRef(ParentReference.builder()
													.parent("EXAMPLE-parent-Value").build())
												.name("EXAMPLE-name-Value")
												.isContained(false)
												.objectStatus(412)
												.configParameterDefinitions(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterDefinition>() {
														{
															put("EXAMPLE_KEY_a081w",ConfigParameterDefinition.builder()
														.parameterName("EXAMPLE-parameterName-Value")
														.description("EXAMPLE-description-Value")
														.defaultValue("EXAMPLE-defaultValue-Value")
														.classFieldName("EXAMPLE-classFieldName-Value")
														.isStatic(true)
														.isClassFieldValue(true).build());
														}
 													}).build())
											.key("EXAMPLE-key-Value")
											.modelVersion("EXAMPLE-modelVersion-Value")
											.parentRef(ParentReference.builder()
												.parent("EXAMPLE-parent-Value").build())
											.name("EXAMPLE-name-Value")
											.objectStatus(160)
											.description("EXAMPLE-description-Value").build())
										.defaultValue("EXAMPLE-defaultValue-Value")
										.rootObjectDefaultValue("EXAMPLE-rootObjectDefaultValue-Value")
										.isInput(false)
										.isOutput(true)
										.outputAggregationType(Parameter.OutputAggregationType.Sum)
										.typeName("EXAMPLE-typeName-Value")
										.key("EXAMPLE-key-Value")
										.modelVersion("EXAMPLE-modelVersion-Value")
										.parentRef(ParentReference.builder()
											.parent("EXAMPLE-parent-Value").build())
										.configValues(ConfigValues.builder()
											.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
													{
														put("EXAMPLE_KEY_rXtjv",ConfigParameterValue.builder()
													.stringValue("EXAMPLE-stringValue-Value")
													.intValue(973)
													.refValue("EXAMPLE-refValue-Value")
													.parameterValue("EXAMPLE-parameterValue-Value").build());
													}
 												})
											.parentRef(ParentReference.builder()
												.parent("EXAMPLE-parent-Value").build()).build())
										.objectStatus(780)
										.name("EXAMPLE-name-Value")
										.description("EXAMPLE-description-Value").build())))
								.key("EXAMPLE-key-Value")
								.modelVersion("EXAMPLE-modelVersion-Value")
								.parentRef(ParentReference.builder()
									.parent("EXAMPLE-parent-Value").build())
								.configValues(ConfigValues.builder()
									.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
											{
												put("EXAMPLE_KEY_1xoOq",ConfigParameterValue.builder()
											.stringValue("EXAMPLE-stringValue-Value")
											.intValue(919)
											.refValue("EXAMPLE-refValue-Value")
											.parameterValue("EXAMPLE-parameterValue-Value").build());
											}
 										})
									.parentRef(ParentReference.builder()
										.parent("EXAMPLE-parent-Value").build()).build())
								.objectStatus(776)
								.name("EXAMPLE-name-Value")
								.description("EXAMPLE-description-Value").build())))
						.objectStatus(970)
						.identifier("EXAMPLE-identifier-Value")
						.parameters(new ArrayList<>(Arrays.asList(Parameter.builder()
								.type(DerivedType.builder()
									.key("EXAMPLE-key-Value")
									.modelVersion("EXAMPLE-modelVersion-Value")
									.parentRef(ParentReference.builder()
										.parent("EXAMPLE-parent-Value").build())
									.name("EXAMPLE-name-Value")
									.objectStatus(594)
									.description("EXAMPLE-description-Value").build())
								.defaultValue("EXAMPLE-defaultValue-Value")
								.rootObjectDefaultValue("EXAMPLE-rootObjectDefaultValue-Value")
								.isInput(true)
								.isOutput(true)
								.outputAggregationType(Parameter.OutputAggregationType.Count)
								.typeName("EXAMPLE-typeName-Value")
								.key("EXAMPLE-key-Value")
								.modelVersion("EXAMPLE-modelVersion-Value")
								.parentRef(ParentReference.builder()
									.parent("EXAMPLE-parent-Value").build())
								.configValues(ConfigValues.builder()
									.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
											{
												put("EXAMPLE_KEY_8jhoy",ConfigParameterValue.builder()
											.stringValue("EXAMPLE-stringValue-Value")
											.intValue(842)
											.refValue("EXAMPLE-refValue-Value")
											.parameterValue("EXAMPLE-parameterValue-Value").build());
											}
 										})
									.parentRef(ParentReference.builder()
										.parent("EXAMPLE-parent-Value").build()).build())
								.objectStatus(180)
								.name("EXAMPLE-name-Value")
								.description("EXAMPLE-description-Value").build())))
						.opConfigValues(ConfigValues.builder()
							.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
									{
										put("EXAMPLE_KEY_7mzky",ConfigParameterValue.builder()
									.stringValue("EXAMPLE-stringValue-Value")
									.intValue(281)
									.refValue("EXAMPLE-refValue-Value")
									.parameterValue("EXAMPLE-parameterValue-Value").build());
									}
 								})
							.parentRef(ParentReference.builder()
								.parent("EXAMPLE-parent-Value").build()).build()).build())
					.uiProperties(UIProperties.builder()
						.coordinateX(new BigDecimal("1249.1685"))
						.coordinateY(new BigDecimal("5043.0537")).build())
					.objectStatus(652).build())))
			.parameters(new ArrayList<>(Arrays.asList(Parameter.builder()
					.type(DataType.builder()
						.dtType(DataType.DtType.Primitive)
						.typeSystemName("EXAMPLE-typeSystemName-Value")
						.configDefinition(ConfigDefinition.builder()
							.key("EXAMPLE-key-Value")
							.modelType("EXAMPLE-modelType-Value")
							.modelVersion("EXAMPLE-modelVersion-Value")
							.parentRef(ParentReference.builder()
								.parent("EXAMPLE-parent-Value").build())
							.name("EXAMPLE-name-Value")
							.isContained(true)
							.objectStatus(716)
							.configParameterDefinitions(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterDefinition>() {
									{
										put("EXAMPLE_KEY_aKeag",ConfigParameterDefinition.builder()
									.parameterName("EXAMPLE-parameterName-Value")
									.description("EXAMPLE-description-Value")
									.defaultValue("EXAMPLE-defaultValue-Value")
									.classFieldName("EXAMPLE-classFieldName-Value")
									.isStatic(false)
									.isClassFieldValue(true).build());
									}
 								}).build())
						.key("EXAMPLE-key-Value")
						.modelVersion("EXAMPLE-modelVersion-Value")
						.parentRef(ParentReference.builder()
							.parent("EXAMPLE-parent-Value").build())
						.name("EXAMPLE-name-Value")
						.objectStatus(852)
						.description("EXAMPLE-description-Value").build())
					.defaultValue("EXAMPLE-defaultValue-Value")
					.rootObjectDefaultValue("EXAMPLE-rootObjectDefaultValue-Value")
					.isInput(true)
					.isOutput(true)
					.outputAggregationType(Parameter.OutputAggregationType.Count)
					.typeName("EXAMPLE-typeName-Value")
					.key("EXAMPLE-key-Value")
					.modelVersion("EXAMPLE-modelVersion-Value")
					.parentRef(ParentReference.builder()
						.parent("EXAMPLE-parent-Value").build())
					.configValues(ConfigValues.builder()
						.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
								{
									put("EXAMPLE_KEY_yoy3D",ConfigParameterValue.builder()
								.stringValue("EXAMPLE-stringValue-Value")
								.intValue(653)
								.refValue("EXAMPLE-refValue-Value")
								.parameterValue("EXAMPLE-parameterValue-Value").build());
								}
 							})
						.parentRef(ParentReference.builder()
							.parent("EXAMPLE-parent-Value").build()).build())
					.objectStatus(181)
					.name("EXAMPLE-name-Value")
					.description("EXAMPLE-description-Value").build())))
			.description("EXAMPLE-description-Value")
			.flowConfigValues(ConfigValues.builder()
				.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
						{
							put("EXAMPLE_KEY_gQm07",ConfigParameterValue.builder()
						.stringValue("EXAMPLE-stringValue-Value")
						.intValue(96)
						.refValue("EXAMPLE-refValue-Value")
						.parameterValue("EXAMPLE-parameterValue-Value").build());
						}
 					})
				.parentRef(ParentReference.builder()
					.parent("EXAMPLE-parent-Value").build()).build())
			.objectStatus(990)
			.metadata(ObjectMetadata.builder()
				.createdBy("EXAMPLE-createdBy-Value")
				.createdByName("EXAMPLE-createdByName-Value")
				.updatedBy("EXAMPLE-updatedBy-Value")
				.updatedByName("EXAMPLE-updatedByName-Value")
				.timeCreated(new Date("Thu May 01 00:23:34 UTC 2025"))
				.timeUpdated(new Date("Fri Feb 28 13:44:35 UTC 2031"))
				.aggregatorKey("EXAMPLE-aggregatorKey-Value")
				.identifierPath("EXAMPLE-identifierPath-Value")
				.infoFields(new HashMap<java.lang.String, java.lang.String>() {
						{
							put("EXAMPLE_KEY_fULG2","EXAMPLE_VALUE_Y4JyrZqntwBAt6VH3O2U");
						}
 					})
				.registryVersion(107)
				.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
				.isFavorite(true).build())
			.keyMap(new HashMap<java.lang.String, java.lang.String>() {
					{
						put("EXAMPLE_KEY_GKnJB","EXAMPLE_VALUE_tnL0qKmyp4QnPmycey89");
					}
 				}).build())
		.key("EXAMPLE-key-Value")
		.modelVersion("EXAMPLE-modelVersion-Value")
		.parentRef(ParentReference.builder()
			.parent("EXAMPLE-parent-Value").build())
		.name("EXAMPLE-name-Value")
		.description("EXAMPLE-description-Value")
		.objectStatus(383)
		.identifier("EXAMPLE-identifier-Value")
		.inputPorts(new ArrayList<>(Arrays.asList(InputPort.builder()
				.portType(InputPort.PortType.Data)
				.fields(new ArrayList<>(Arrays.asList(OutputField.builder()
						.type(DynamicType.builder()
							.typeHandler(RuleTypeConfig.builder()
								.key("EXAMPLE-key-Value")
								.modelVersion("EXAMPLE-modelVersion-Value")
								.parentRef(ParentReference.builder()
									.parent("EXAMPLE-parent-Value").build())
								.scope("EXAMPLE-scope-Value")
								.isOrderByRule(true)
								.projectionRules(new ArrayList<>(Arrays.asList(NamePatternRule.builder()
										.isSkipRemainingRulesOnMatch(true)
										.scope("EXAMPLE-scope-Value")
										.isCascade(true)
										.matchingStrategy(NamePatternRule.MatchingStrategy.NameOnly)
										.isCaseSensitive(true)
										.ruleType(NamePatternRule.RuleType.Include)
										.pattern("EXAMPLE-pattern-Value")
										.key("EXAMPLE-key-Value")
										.modelVersion("EXAMPLE-modelVersion-Value")
										.parentRef(ParentReference.builder()
											.parent("EXAMPLE-parent-Value").build())
										.isJavaRegexSyntax(false)
										.configValues(ConfigValues.builder()
											.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
													{
														put("EXAMPLE_KEY_nhvjV",ConfigParameterValue.builder()
													.stringValue("EXAMPLE-stringValue-Value")
													.intValue(448)
													.refValue("EXAMPLE-refValue-Value")
													.parameterValue("EXAMPLE-parameterValue-Value").build());
													}
 												})
											.parentRef(ParentReference.builder()
												.parent("EXAMPLE-parent-Value").build()).build())
										.objectStatus(560)
										.description("EXAMPLE-description-Value").build())))
								.configValues(ConfigValues.builder()
									.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
											{
												put("EXAMPLE_KEY_EiSFD",ConfigParameterValue.builder()
											.stringValue("EXAMPLE-stringValue-Value")
											.intValue(369)
											.refValue("EXAMPLE-refValue-Value")
											.parameterValue("EXAMPLE-parameterValue-Value").build());
											}
 										})
									.parentRef(ParentReference.builder()
										.parent("EXAMPLE-parent-Value").build()).build())
								.objectStatus(443).build())
							.configDefinition(ConfigDefinition.builder()
								.key("EXAMPLE-key-Value")
								.modelType("EXAMPLE-modelType-Value")
								.modelVersion("EXAMPLE-modelVersion-Value")
								.parentRef(ParentReference.builder()
									.parent("EXAMPLE-parent-Value").build())
								.name("EXAMPLE-name-Value")
								.isContained(true)
								.objectStatus(447)
								.configParameterDefinitions(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterDefinition>() {
										{
											put("EXAMPLE_KEY_f4BBT",ConfigParameterDefinition.builder()
										.parameterName("EXAMPLE-parameterName-Value")
										.description("EXAMPLE-description-Value")
										.defaultValue("EXAMPLE-defaultValue-Value")
										.classFieldName("EXAMPLE-classFieldName-Value")
										.isStatic(false)
										.isClassFieldValue(true).build());
										}
 									}).build())
							.key("EXAMPLE-key-Value")
							.modelVersion("EXAMPLE-modelVersion-Value")
							.parentRef(ParentReference.builder()
								.parent("EXAMPLE-parent-Value").build())
							.name("EXAMPLE-name-Value")
							.objectStatus(330)
							.description("EXAMPLE-description-Value").build())
						.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
						.key("EXAMPLE-key-Value")
						.modelVersion("EXAMPLE-modelVersion-Value")
						.parentRef(ParentReference.builder()
							.parent("EXAMPLE-parent-Value").build())
						.configValues(ConfigValues.builder()
							.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
									{
										put("EXAMPLE_KEY_Lq3lu",ConfigParameterValue.builder()
									.stringValue("EXAMPLE-stringValue-Value")
									.intValue(194)
									.refValue("EXAMPLE-refValue-Value")
									.parameterValue("EXAMPLE-parameterValue-Value").build());
									}
 								})
							.parentRef(ParentReference.builder()
								.parent("EXAMPLE-parent-Value").build()).build())
						.objectStatus(808)
						.name("EXAMPLE-name-Value")
						.description("EXAMPLE-description-Value").build())))
				.key("EXAMPLE-key-Value")
				.modelVersion("EXAMPLE-modelVersion-Value")
				.parentRef(ParentReference.builder()
					.parent("EXAMPLE-parent-Value").build())
				.configValues(ConfigValues.builder()
					.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
							{
								put("EXAMPLE_KEY_3wxMo",ConfigParameterValue.builder()
							.stringValue("EXAMPLE-stringValue-Value")
							.intValue(456)
							.refValue("EXAMPLE-refValue-Value")
							.parameterValue("EXAMPLE-parameterValue-Value").build());
							}
 						})
					.parentRef(ParentReference.builder()
						.parent("EXAMPLE-parent-Value").build()).build())
				.objectStatus(39)
				.name("EXAMPLE-name-Value")
				.description("EXAMPLE-description-Value").build())))
		.outputPorts(new ArrayList<>(Arrays.asList(OutputPort.builder()
				.portType(OutputPort.PortType.Model)
				.fields(new ArrayList<>(Arrays.asList(ShapeField.builder()
						.type("EXAMPLE-type-Value")
						.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
						.nativeShapeField(NativeShapeField.builder()
							.name("EXAMPLE-name-Value")
							.modelType("EXAMPLE-modelType-Value")
							.type("EXAMPLE-type-Value")
							.configValues(ConfigValues.builder()
								.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
										{
											put("EXAMPLE_KEY_Yl92t",ConfigParameterValue.builder()
										.stringValue("EXAMPLE-stringValue-Value")
										.intValue(846)
										.refValue("EXAMPLE-refValue-Value")
										.parameterValue("EXAMPLE-parameterValue-Value").build());
										}
 									})
								.parentRef(ParentReference.builder()
									.parent("EXAMPLE-parent-Value").build()).build())
							.position(906)
							.defaultValueString("EXAMPLE-defaultValueString-Value")
							.isMandatory(false).build())
						.key("EXAMPLE-key-Value")
						.modelVersion("EXAMPLE-modelVersion-Value")
						.parentRef(ParentReference.builder()
							.parent("EXAMPLE-parent-Value").build())
						.configValues(ConfigValues.builder()
							.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
									{
										put("EXAMPLE_KEY_MODy9",ConfigParameterValue.builder()
									.stringValue("EXAMPLE-stringValue-Value")
									.intValue(706)
									.refValue("EXAMPLE-refValue-Value")
									.parameterValue("EXAMPLE-parameterValue-Value").build());
									}
 								})
							.parentRef(ParentReference.builder()
								.parent("EXAMPLE-parent-Value").build()).build())
						.objectStatus(162)
						.name("EXAMPLE-name-Value")
						.description("EXAMPLE-description-Value").build())))
				.key("EXAMPLE-key-Value")
				.modelVersion("EXAMPLE-modelVersion-Value")
				.parentRef(ParentReference.builder()
					.parent("EXAMPLE-parent-Value").build())
				.configValues(ConfigValues.builder()
					.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
							{
								put("EXAMPLE_KEY_iZDGL",ConfigParameterValue.builder()
							.stringValue("EXAMPLE-stringValue-Value")
							.intValue(426)
							.refValue("EXAMPLE-refValue-Value")
							.parameterValue("EXAMPLE-parameterValue-Value").build());
							}
 						})
					.parentRef(ParentReference.builder()
						.parent("EXAMPLE-parent-Value").build()).build())
				.objectStatus(976)
				.name("EXAMPLE-name-Value")
				.description("EXAMPLE-description-Value").build())))
		.parameters(new ArrayList<>(Arrays.asList(Parameter.builder()
				.type(CompositeType.builder()
					.elements(new ArrayList<>(Arrays.asList(ShapeField.builder()
							.type("EXAMPLE-type-Value")
							.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
							.nativeShapeField(NativeShapeField.builder()
								.name("EXAMPLE-name-Value")
								.modelType("EXAMPLE-modelType-Value")
								.type("EXAMPLE-type-Value")
								.configValues(ConfigValues.builder()
									.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
											{
												put("EXAMPLE_KEY_SzRlA",ConfigParameterValue.builder()
											.stringValue("EXAMPLE-stringValue-Value")
											.intValue(384)
											.refValue("EXAMPLE-refValue-Value")
											.parameterValue("EXAMPLE-parameterValue-Value").build());
											}
 										})
									.parentRef(ParentReference.builder()
										.parent("EXAMPLE-parent-Value").build()).build())
								.position(95)
								.defaultValueString("EXAMPLE-defaultValueString-Value")
								.isMandatory(true).build())
							.key("EXAMPLE-key-Value")
							.modelVersion("EXAMPLE-modelVersion-Value")
							.parentRef(ParentReference.builder()
								.parent("EXAMPLE-parent-Value").build())
							.configValues(ConfigValues.builder()
								.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
										{
											put("EXAMPLE_KEY_yyyJo",ConfigParameterValue.builder()
										.stringValue("EXAMPLE-stringValue-Value")
										.intValue(957)
										.refValue("EXAMPLE-refValue-Value")
										.parameterValue("EXAMPLE-parameterValue-Value").build());
										}
 									})
								.parentRef(ParentReference.builder()
									.parent("EXAMPLE-parent-Value").build()).build())
							.objectStatus(481)
							.name("EXAMPLE-name-Value")
							.description("EXAMPLE-description-Value").build())))
					.configDefinition(ConfigDefinition.builder()
						.key("EXAMPLE-key-Value")
						.modelType("EXAMPLE-modelType-Value")
						.modelVersion("EXAMPLE-modelVersion-Value")
						.parentRef(ParentReference.builder()
							.parent("EXAMPLE-parent-Value").build())
						.name("EXAMPLE-name-Value")
						.isContained(true)
						.objectStatus(187)
						.configParameterDefinitions(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterDefinition>() {
								{
									put("EXAMPLE_KEY_I6Ert",ConfigParameterDefinition.builder()
								.parameterName("EXAMPLE-parameterName-Value")
								.description("EXAMPLE-description-Value")
								.defaultValue("EXAMPLE-defaultValue-Value")
								.classFieldName("EXAMPLE-classFieldName-Value")
								.isStatic(false)
								.isClassFieldValue(true).build());
								}
 							}).build())
					.key("EXAMPLE-key-Value")
					.modelVersion("EXAMPLE-modelVersion-Value")
					.parentRef(ParentReference.builder()
						.parent("EXAMPLE-parent-Value").build())
					.name("EXAMPLE-name-Value")
					.objectStatus(642)
					.description("EXAMPLE-description-Value").build())
				.defaultValue("EXAMPLE-defaultValue-Value")
				.rootObjectDefaultValue("EXAMPLE-rootObjectDefaultValue-Value")
				.isInput(false)
				.isOutput(false)
				.outputAggregationType(Parameter.OutputAggregationType.Max)
				.typeName("EXAMPLE-typeName-Value")
				.key("EXAMPLE-key-Value")
				.modelVersion("EXAMPLE-modelVersion-Value")
				.parentRef(ParentReference.builder()
					.parent("EXAMPLE-parent-Value").build())
				.configValues(ConfigValues.builder()
					.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
							{
								put("EXAMPLE_KEY_UiYN0",ConfigParameterValue.builder()
							.stringValue("EXAMPLE-stringValue-Value")
							.intValue(891)
							.refValue("EXAMPLE-refValue-Value")
							.parameterValue("EXAMPLE-parameterValue-Value").build());
							}
 						})
					.parentRef(ParentReference.builder()
						.parent("EXAMPLE-parent-Value").build()).build())
				.objectStatus(501)
				.name("EXAMPLE-name-Value")
				.description("EXAMPLE-description-Value").build())))
		.opConfigValues(ConfigValues.builder()
			.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
					{
						put("EXAMPLE_KEY_xjCYg",ConfigParameterValue.builder()
					.stringValue("EXAMPLE-stringValue-Value")
					.intValue(232)
					.refValue("EXAMPLE-refValue-Value")
					.parameterValue("EXAMPLE-parameterValue-Value").build());
					}
 				})
			.parentRef(ParentReference.builder()
				.parent("EXAMPLE-parent-Value").build()).build())
		.configProviderDelegate(CreateConfigProvider.builder()
			.bindings(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ParameterValue>() {
					{
						put("EXAMPLE_KEY_S3wqb",ParameterValue.builder()
					.simpleValue("EXAMPLE-simpleValue-Value")
					.rootObjectValue("EXAMPLE-rootObjectValue-Value").build());
					}
 				}).build())
		.registryMetadata(RegistryMetadata.builder()
			.aggregatorKey("EXAMPLE-aggregatorKey-Value")
			.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
			.registryVersion(321)
			.key("EXAMPLE-key-Value")
			.isFavorite(true).build()).build();

	CreateTaskRequest createTaskRequest = CreateTaskRequest.builder()
		.workspaceId("ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value")
		.createTaskDetails(createTaskDetails)
		.opcRetryToken("EXAMPLE-opcRetryToken-Value")
		.opcRequestId("Z1QJLSHTZ5M1OKHBQKDF/OpcRequestIdExample/<unique_ID>").build();

        /* Send request to the Client */
        CreateTaskResponse response = client.createTask(createTaskRequest);
    }

    
}