/** 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 CreateDataFlowValidationExample {
    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). */
	CreateDataFlowValidationDetails createDataFlowValidationDetails = CreateDataFlowValidationDetails.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(8)
		.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_WA6sX",ConfigParameterValue.builder()
										.stringValue("EXAMPLE-stringValue-Value")
										.intValue(722)
										.refValue("EXAMPLE-refValue-Value")
										.parameterValue("EXAMPLE-parameterValue-Value").build());
										}
 									})
								.parentRef(ParentReference.builder()
									.parent("EXAMPLE-parent-Value").build()).build())
							.mapType(RuleBasedFieldMap.MapType.Mapbypattern)
							.fromPattern("EXAMPLE-fromPattern-Value")
							.toPattern("EXAMPLE-toPattern-Value")
							.isJavaRegexSyntax(true)
							.objectStatus(716)
							.fromRuleConfig(RuleTypeConfig.builder()
								.key("EXAMPLE-key-Value")
								.modelVersion("EXAMPLE-modelVersion-Value")
								.parentRef(ParentReference.builder()
									.parent("EXAMPLE-parent-Value").build())
								.scope("EXAMPLE-scope-Value")
								.isOrderByRule(false)
								.projectionRules(new ArrayList<>(Arrays.asList(TypeListRule.builder()
										.isSkipRemainingRulesOnMatch(false)
										.scope("EXAMPLE-scope-Value")
										.isCascade(false)
										.matchingStrategy(TypeListRule.MatchingStrategy.NameOrTags)
										.isCaseSensitive(false)
										.ruleType(TypeListRule.RuleType.Include)
										.types(new ArrayList<>(Arrays.asList("EXAMPLE-types-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_BsCDK",ConfigParameterValue.builder()
													.stringValue("EXAMPLE-stringValue-Value")
													.intValue(247)
													.refValue("EXAMPLE-refValue-Value")
													.parameterValue("EXAMPLE-parameterValue-Value").build());
													}
 												})
											.parentRef(ParentReference.builder()
												.parent("EXAMPLE-parent-Value").build()).build())
										.objectStatus(657)
										.description("EXAMPLE-description-Value").build())))
								.configValues(ConfigValues.builder()
									.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
											{
												put("EXAMPLE_KEY_moVmO",ConfigParameterValue.builder()
											.stringValue("EXAMPLE-stringValue-Value")
											.intValue(746)
											.refValue("EXAMPLE-refValue-Value")
											.parameterValue("EXAMPLE-parameterValue-Value").build());
											}
 										})
									.parentRef(ParentReference.builder()
										.parent("EXAMPLE-parent-Value").build()).build())
								.objectStatus(641).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(false)
								.projectionRules(new ArrayList<>(Arrays.asList(TypeListRule.builder()
										.isSkipRemainingRulesOnMatch(true)
										.scope("EXAMPLE-scope-Value")
										.isCascade(false)
										.matchingStrategy(TypeListRule.MatchingStrategy.NameOrTags)
										.isCaseSensitive(false)
										.ruleType(TypeListRule.RuleType.Exclude)
										.types(new ArrayList<>(Arrays.asList("EXAMPLE-types-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_UMaF3",ConfigParameterValue.builder()
													.stringValue("EXAMPLE-stringValue-Value")
													.intValue(854)
													.refValue("EXAMPLE-refValue-Value")
													.parameterValue("EXAMPLE-parameterValue-Value").build());
													}
 												})
											.parentRef(ParentReference.builder()
												.parent("EXAMPLE-parent-Value").build()).build())
										.objectStatus(848)
										.description("EXAMPLE-description-Value").build())))
								.configValues(ConfigValues.builder()
									.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
											{
												put("EXAMPLE_KEY_YVBbm",ConfigParameterValue.builder()
											.stringValue("EXAMPLE-stringValue-Value")
											.intValue(347)
											.refValue("EXAMPLE-refValue-Value")
											.parameterValue("EXAMPLE-parameterValue-Value").build());
											}
 										})
									.parentRef(ParentReference.builder()
										.parent("EXAMPLE-parent-Value").build()).build())
								.objectStatus(348).build())
							.description("EXAMPLE-description-Value").build())
						.key("EXAMPLE-key-Value")
						.modelVersion("EXAMPLE-modelVersion-Value")
						.parentRef(ParentReference.builder()
							.parent("EXAMPLE-parent-Value").build())
						.objectStatus(797)
						.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(935)
						.description("EXAMPLE-description-Value")
						.port("EXAMPLE-port-Value").build())))
				.operator(Source.builder()
					.entity(DataEntityFromFile.builder()
						.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(468)
						.externalKey("EXAMPLE-externalKey-Value")
						.shape(Shape.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(TypedNamePatternRule.builder()
											.types(new ArrayList<>(Arrays.asList("EXAMPLE-types-Value")))
											.isSkipRemainingRulesOnMatch(false)
											.scope("EXAMPLE-scope-Value")
											.isCascade(false)
											.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_9mocU",ConfigParameterValue.builder()
														.stringValue("EXAMPLE-stringValue-Value")
														.intValue(954)
														.refValue("EXAMPLE-refValue-Value")
														.parameterValue("EXAMPLE-parameterValue-Value").build());
														}
 													})
												.parentRef(ParentReference.builder()
													.parent("EXAMPLE-parent-Value").build()).build())
											.objectStatus(574)
											.description("EXAMPLE-description-Value").build())))
									.configValues(ConfigValues.builder()
										.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
												{
													put("EXAMPLE_KEY_t9heq",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(548).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(474)
									.configParameterDefinitions(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterDefinition>() {
											{
												put("EXAMPLE_KEY_czz8Z",ConfigParameterDefinition.builder()
											.parameterName("EXAMPLE-parameterName-Value")
											.description("EXAMPLE-description-Value")
											.defaultValue("EXAMPLE-defaultValue-Value")
											.classFieldName("EXAMPLE-classFieldName-Value")
											.isStatic(true)
											.isClassFieldValue(false).build());
											}
 										}).build())
								.key("EXAMPLE-key-Value")
								.modelVersion("EXAMPLE-modelVersion-Value")
								.parentRef(ParentReference.builder()
									.parent("EXAMPLE-parent-Value").build())
								.name("EXAMPLE-name-Value")
								.objectStatus(969)
								.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_vhRNd",ConfigParameterValue.builder()
										.stringValue("EXAMPLE-stringValue-Value")
										.intValue(128)
										.refValue("EXAMPLE-refValue-Value")
										.parameterValue("EXAMPLE-parameterValue-Value").build());
										}
 									})
								.parentRef(ParentReference.builder()
									.parent("EXAMPLE-parent-Value").build()).build())
							.objectStatus(890)
							.name("EXAMPLE-name-Value")
							.description("EXAMPLE-description-Value").build())
						.shapeId("ocid1.test.oc1..<unique_ID>EXAMPLE-shapeId-Value")
						.types(TypeLibrary.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")
							.objectVersion(945)
							.types(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.DerivedType>() {
									{
										put("EXAMPLE_KEY_zEPtu",DerivedType.builder()
									.key("EXAMPLE-key-Value")
									.modelVersion("EXAMPLE-modelVersion-Value")
									.parentRef(ParentReference.builder()
										.parent("EXAMPLE-parent-Value").build())
									.name("EXAMPLE-name-Value")
									.objectStatus(818)
									.description("EXAMPLE-description-Value").build());
									}
 								})
							.objectStatus(665)
							.identifier("EXAMPLE-identifier-Value").build())
						.entityType(DataEntityFromFile.EntityType.Other)
						.otherTypeLabel("EXAMPLE-otherTypeLabel-Value")
						.uniqueKeys(new ArrayList<>(Arrays.asList(UniqueKey.builder()
								.key("EXAMPLE-key-Value")
								.modelVersion("EXAMPLE-modelVersion-Value")
								.parentRef(ParentReference.builder()
									.parent("EXAMPLE-parent-Value").build())
								.name("EXAMPLE-name-Value")
								.attributeRefs(new ArrayList<>(Arrays.asList(KeyAttribute.builder()
										.position(483)
										.attribute(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_Pg677",ConfigParameterValue.builder()
															.stringValue("EXAMPLE-stringValue-Value")
															.intValue(761)
															.refValue("EXAMPLE-refValue-Value")
															.parameterValue("EXAMPLE-parameterValue-Value").build());
															}
 														})
													.parentRef(ParentReference.builder()
														.parent("EXAMPLE-parent-Value").build()).build())
												.position(608)
												.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_z196i",ConfigParameterValue.builder()
														.stringValue("EXAMPLE-stringValue-Value")
														.intValue(923)
														.refValue("EXAMPLE-refValue-Value")
														.parameterValue("EXAMPLE-parameterValue-Value").build());
														}
 													})
												.parentRef(ParentReference.builder()
													.parent("EXAMPLE-parent-Value").build()).build())
											.objectStatus(74)
											.name("EXAMPLE-name-Value")
											.description("EXAMPLE-description-Value").build()).build())))
								.objectStatus(159).build())))
						.foreignKeys(new ArrayList<>(Arrays.asList(ForeignKey.builder()
								.key("EXAMPLE-key-Value")
								.modelVersion("EXAMPLE-modelVersion-Value")
								.parentRef(ParentReference.builder()
									.parent("EXAMPLE-parent-Value").build())
								.name("EXAMPLE-name-Value")
								.attributeRefs(new ArrayList<>(Arrays.asList(KeyAttribute.builder()
										.position(793)
										.attribute(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_79yZX",ConfigParameterValue.builder()
															.stringValue("EXAMPLE-stringValue-Value")
															.intValue(121)
															.refValue("EXAMPLE-refValue-Value")
															.parameterValue("EXAMPLE-parameterValue-Value").build());
															}
 														})
													.parentRef(ParentReference.builder()
														.parent("EXAMPLE-parent-Value").build()).build())
												.position(32)
												.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_ACaAt",ConfigParameterValue.builder()
														.stringValue("EXAMPLE-stringValue-Value")
														.intValue(87)
														.refValue("EXAMPLE-refValue-Value")
														.parameterValue("EXAMPLE-parameterValue-Value").build());
														}
 													})
												.parentRef(ParentReference.builder()
													.parent("EXAMPLE-parent-Value").build()).build())
											.objectStatus(141)
											.name("EXAMPLE-name-Value")
											.description("EXAMPLE-description-Value").build()).build())))
								.updateRule(782)
								.deleteRule(467)
								.referenceUniqueKey(UniqueKey.builder()
									.key("EXAMPLE-key-Value")
									.modelVersion("EXAMPLE-modelVersion-Value")
									.parentRef(ParentReference.builder()
										.parent("EXAMPLE-parent-Value").build())
									.name("EXAMPLE-name-Value")
									.attributeRefs(new ArrayList<>(Arrays.asList(KeyAttribute.builder()
											.position(970)
											.attribute(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_RbT0j",ConfigParameterValue.builder()
																.stringValue("EXAMPLE-stringValue-Value")
																.intValue(180)
																.refValue("EXAMPLE-refValue-Value")
																.parameterValue("EXAMPLE-parameterValue-Value").build());
																}
 															})
														.parentRef(ParentReference.builder()
															.parent("EXAMPLE-parent-Value").build()).build())
													.position(465)
													.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_d2EEu",ConfigParameterValue.builder()
															.stringValue("EXAMPLE-stringValue-Value")
															.intValue(297)
															.refValue("EXAMPLE-refValue-Value")
															.parameterValue("EXAMPLE-parameterValue-Value").build());
															}
 														})
													.parentRef(ParentReference.builder()
														.parent("EXAMPLE-parent-Value").build()).build())
												.objectStatus(369)
												.name("EXAMPLE-name-Value")
												.description("EXAMPLE-description-Value").build()).build())))
									.objectStatus(355).build())
								.objectStatus(509).build())))
						.resourceName("EXAMPLE-resourceName-Value")
						.dataFormat(DataFormat.builder()
							.formatAttribute(JsonFormatAttribute.builder()
								.encoding("EXAMPLE-encoding-Value").build())
							.type(DataFormat.Type.Csv).build())
						.objectStatus(640)
						.identifier("EXAMPLE-identifier-Value")
						.metadata(ObjectMetadata.builder()
							.createdBy("EXAMPLE-createdBy-Value")
							.createdByName("EXAMPLE-createdByName-Value")
							.updatedBy("EXAMPLE-updatedBy-Value")
							.updatedByName("EXAMPLE-updatedByName-Value")
							.timeCreated(new Date("Thu May 08 15:57:15 UTC 2003"))
							.timeUpdated(new Date("Tue Sep 24 22:40:47 UTC 2030"))
							.aggregatorKey("EXAMPLE-aggregatorKey-Value")
							.identifierPath("EXAMPLE-identifierPath-Value")
							.infoFields(new HashMap<java.lang.String, java.lang.String>() {
									{
										put("EXAMPLE_KEY_tg6if","EXAMPLE_VALUE_4c2v6uH0JwDbnRqccYo1");
									}
 								})
							.registryVersion(101)
							.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
							.isFavorite(true).build()).build())
					.isReadAccess(true)
					.isCopyFields(false)
					.isPredefinedShape(true)
					.readOperationConfig(ReadOperationConfig.builder()
						.key("EXAMPLE-key-Value")
						.modelVersion("EXAMPLE-modelVersion-Value")
						.parentRef(ParentReference.builder()
							.parent("EXAMPLE-parent-Value").build())
						.operations(new ArrayList<>(Arrays.asList(Query.builder()
								.query("EXAMPLE-query-Value").build())))
						.dataFormat(DataFormat.builder()
							.formatAttribute(AvroFormatAttribute.builder()
								.compression("EXAMPLE-compression-Value").build())
							.type(DataFormat.Type.Xml).build())
						.partitionConfig(KeyRangePartitionConfig.builder()
							.partitionNumber(590)
							.keyRange(KeyRange.builder()
								.key(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_X959U",ConfigParameterValue.builder()
													.stringValue("EXAMPLE-stringValue-Value")
													.intValue(300)
													.refValue("EXAMPLE-refValue-Value")
													.parameterValue("EXAMPLE-parameterValue-Value").build());
													}
 												})
											.parentRef(ParentReference.builder()
												.parent("EXAMPLE-parent-Value").build()).build())
										.position(705)
										.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_lwApa",ConfigParameterValue.builder()
												.stringValue("EXAMPLE-stringValue-Value")
												.intValue(425)
												.refValue("EXAMPLE-refValue-Value")
												.parameterValue("EXAMPLE-parameterValue-Value").build());
												}
 											})
										.parentRef(ParentReference.builder()
											.parent("EXAMPLE-parent-Value").build()).build())
									.objectStatus(177)
									.name("EXAMPLE-name-Value")
									.description("EXAMPLE-description-Value").build()).build()).build())
						.readAttribute(OracleReadAttribute.builder()
							.fetchSize(351).build())
						.objectStatus(526).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(969)
					.inputPorts(new ArrayList<>(Arrays.asList(InputPort.builder()
							.portType(InputPort.PortType.Data)
							.fields(new ArrayList<>(Arrays.asList(Shape.builder()
									.type(CompositeType.builder()
										.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(65)
											.configParameterDefinitions(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterDefinition>() {
													{
														put("EXAMPLE_KEY_lx4AI",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(54)
										.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_uGJEU",ConfigParameterValue.builder()
												.stringValue("EXAMPLE-stringValue-Value")
												.intValue(942)
												.refValue("EXAMPLE-refValue-Value")
												.parameterValue("EXAMPLE-parameterValue-Value").build());
												}
 											})
										.parentRef(ParentReference.builder()
											.parent("EXAMPLE-parent-Value").build()).build())
									.objectStatus(760)
									.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_9lF7k",ConfigParameterValue.builder()
										.stringValue("EXAMPLE-stringValue-Value")
										.intValue(671)
										.refValue("EXAMPLE-refValue-Value")
										.parameterValue("EXAMPLE-parameterValue-Value").build());
										}
 									})
								.parentRef(ParentReference.builder()
									.parent("EXAMPLE-parent-Value").build()).build())
							.objectStatus(329)
							.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(InputPort.builder()
									.portType(InputPort.PortType.Data)
									.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_XpKSs",ConfigParameterValue.builder()
												.stringValue("EXAMPLE-stringValue-Value")
												.intValue(792)
												.refValue("EXAMPLE-refValue-Value")
												.parameterValue("EXAMPLE-parameterValue-Value").build());
												}
 											})
										.parentRef(ParentReference.builder()
											.parent("EXAMPLE-parent-Value").build()).build())
									.objectStatus(503)
									.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_NfxmI",ConfigParameterValue.builder()
										.stringValue("EXAMPLE-stringValue-Value")
										.intValue(253)
										.refValue("EXAMPLE-refValue-Value")
										.parameterValue("EXAMPLE-parameterValue-Value").build());
										}
 									})
								.parentRef(ParentReference.builder()
									.parent("EXAMPLE-parent-Value").build()).build())
							.objectStatus(100)
							.name("EXAMPLE-name-Value")
							.description("EXAMPLE-description-Value").build())))
					.objectStatus(110)
					.identifier("EXAMPLE-identifier-Value")
					.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(169)
									.configParameterDefinitions(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterDefinition>() {
											{
												put("EXAMPLE_KEY_xg4u8",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(401)
								.description("EXAMPLE-description-Value").build())
							.defaultValue("EXAMPLE-defaultValue-Value")
							.rootObjectDefaultValue("EXAMPLE-rootObjectDefaultValue-Value")
							.isInput(false)
							.isOutput(false)
							.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_xtJtj",ConfigParameterValue.builder()
										.stringValue("EXAMPLE-stringValue-Value")
										.intValue(732)
										.refValue("EXAMPLE-refValue-Value")
										.parameterValue("EXAMPLE-parameterValue-Value").build());
										}
 									})
								.parentRef(ParentReference.builder()
									.parent("EXAMPLE-parent-Value").build()).build())
							.objectStatus(604)
							.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_oAVia",ConfigParameterValue.builder()
								.stringValue("EXAMPLE-stringValue-Value")
								.intValue(406)
								.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("1124.0267"))
					.coordinateY(new BigDecimal("2204.8008")).build())
				.objectStatus(602).build())))
		.parameters(new ArrayList<>(Arrays.asList(Parameter.builder()
				.type(JavaType.builder()
					.javaTypeName("EXAMPLE-javaTypeName-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(15)
						.configParameterDefinitions(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterDefinition>() {
								{
									put("EXAMPLE_KEY_ffduv",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(286)
					.description("EXAMPLE-description-Value").build())
				.defaultValue("EXAMPLE-defaultValue-Value")
				.rootObjectDefaultValue("EXAMPLE-rootObjectDefaultValue-Value")
				.isInput(true)
				.isOutput(false)
				.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_aj1cP",ConfigParameterValue.builder()
							.stringValue("EXAMPLE-stringValue-Value")
							.intValue(357)
							.refValue("EXAMPLE-refValue-Value")
							.parameterValue("EXAMPLE-parameterValue-Value").build());
							}
 						})
					.parentRef(ParentReference.builder()
						.parent("EXAMPLE-parent-Value").build()).build())
				.objectStatus(846)
				.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_nnxDO",ConfigParameterValue.builder()
					.stringValue("EXAMPLE-stringValue-Value")
					.intValue(277)
					.refValue("EXAMPLE-refValue-Value")
					.parameterValue("EXAMPLE-parameterValue-Value").build());
					}
 				})
			.parentRef(ParentReference.builder()
				.parent("EXAMPLE-parent-Value").build()).build())
		.objectStatus(811)
		.metadata(ObjectMetadata.builder()
			.createdBy("EXAMPLE-createdBy-Value")
			.createdByName("EXAMPLE-createdByName-Value")
			.updatedBy("EXAMPLE-updatedBy-Value")
			.updatedByName("EXAMPLE-updatedByName-Value")
			.timeCreated(new Date("Tue Aug 23 00:48:25 UTC 2022"))
			.timeUpdated(new Date("Tue Nov 28 02:23:35 UTC 2034"))
			.aggregatorKey("EXAMPLE-aggregatorKey-Value")
			.identifierPath("EXAMPLE-identifierPath-Value")
			.infoFields(new HashMap<java.lang.String, java.lang.String>() {
					{
						put("EXAMPLE_KEY_Ozo5q","EXAMPLE_VALUE_rlZ6PLdcqPBIte7anpsI");
					}
 				})
			.registryVersion(244)
			.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
			.isFavorite(false).build())
		.keyMap(new HashMap<java.lang.String, java.lang.String>() {
				{
					put("EXAMPLE_KEY_vPddN","EXAMPLE_VALUE_rIUQEcrSyANyl5RuLJG0");
				}
 			}).build();

	CreateDataFlowValidationRequest createDataFlowValidationRequest = CreateDataFlowValidationRequest.builder()
		.workspaceId("ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value")
		.createDataFlowValidationDetails(createDataFlowValidationDetails)
		.opcRequestId("F97G8QNFWIYHKJAW6SL3/OpcRequestIdExample/<unique_ID>")
		.opcRetryToken("EXAMPLE-opcRetryToken-Value").build();

        /* Send request to the Client */
        CreateDataFlowValidationResponse response = client.createDataFlowValidation(createDataFlowValidationRequest);
    }

    
}