/** 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.UUID;
import java.util.Arrays;


public class CreateConnectionValidationExample {
    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 = DataIntegrationClient.builder().build(provider);

        /* Create a request and dependent object(s). */
	CreateConnectionValidationDetails createConnectionValidationDetails = CreateConnectionValidationDetails.builder()
		.dataAsset(CreateDataAssetFromAdwc.builder()
			.serviceName("EXAMPLE-serviceName-Value")
			.driverClass("EXAMPLE-driverClass-Value")
			.credentialFileContent("EXAMPLE-credentialFileContent-Value")
			.walletSecret(SensitiveAttribute.builder()
				.secretConfig(OciVaultSecretConfig.builder()
					.secretId("ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value").build())
				.value("EXAMPLE-value-Value").build())
			.walletPasswordSecret(SensitiveAttribute.builder()
				.secretConfig(OciVaultSecretConfig.builder()
					.secretId("ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value").build())
				.value("EXAMPLE-value-Value").build())
			.regionId("ocid1.test.oc1..<unique_ID>EXAMPLE-regionId-Value")
			.tenancyId("ocid1.test.oc1..<unique_ID>EXAMPLE-tenancyId-Value")
			.compartmentId("ocid1.test.oc1..<unique_ID>EXAMPLE-compartmentId-Value")
			.autonomousDbId("ocid1.test.oc1..<unique_ID>EXAMPLE-autonomousDbId-Value")
			.defaultConnection(CreateConnectionFromAdwc.builder()
				.tnsAlias("EXAMPLE-tnsAlias-Value")
				.tnsNames(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
				.username("EXAMPLE-username-Value")
				.password("EXAMPLE-password-Value")
				.passwordSecret(SensitiveAttribute.builder()
					.secretConfig(OciVaultSecretConfig.builder()
						.secretId("ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value").build())
					.value("EXAMPLE-value-Value").build())
				.key("EXAMPLE-key-Value")
				.modelVersion("EXAMPLE-modelVersion-Value")
				.parentRef(ParentReference.builder()
					.parent("EXAMPLE-parent-Value")
					.rootDocId("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value").build())
				.name("EXAMPLE-name-Value")
				.description("EXAMPLE-description-Value")
				.objectStatus(895)
				.identifier("EXAMPLE-identifier-Value")
				.connectionProperties(new ArrayList<>(Arrays.asList(ConnectionProperty.builder()
						.name("EXAMPLE-name-Value")
						.value("EXAMPLE-value-Value").build())))
				.registryMetadata(RegistryMetadata.builder()
					.aggregatorKey("EXAMPLE-aggregatorKey-Value")
					.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
					.registryVersion(732)
					.key("EXAMPLE-key-Value")
					.isFavorite(true).build()).build())
			.stagingDataAsset(DataAssetFromOraclePeopleSoftDetails.builder()
				.host("EXAMPLE-host-Value")
				.port("EXAMPLE-port-Value")
				.serviceName("EXAMPLE-serviceName-Value")
				.driverClass("EXAMPLE-driverClass-Value")
				.sid("EXAMPLE-sid-Value")
				.walletSecret(SensitiveAttribute.builder()
					.secretConfig(OciVaultSecretConfig.builder()
						.secretId("ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value").build())
					.value("EXAMPLE-value-Value").build())
				.walletPasswordSecret(SensitiveAttribute.builder()
					.secretConfig(OciVaultSecretConfig.builder()
						.secretId("ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value").build())
					.value("EXAMPLE-value-Value").build())
				.defaultConnection(ConnectionFromOraclePeopleSoftDetails.builder()
					.username("EXAMPLE-username-Value")
					.password("EXAMPLE-password-Value")
					.passwordSecret(SensitiveAttribute.builder()
						.secretConfig(OciVaultSecretConfig.builder()
							.secretId("ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value").build())
						.value("EXAMPLE-value-Value").build())
					.key("EXAMPLE-key-Value")
					.modelVersion("EXAMPLE-modelVersion-Value")
					.parentRef(ParentReference.builder()
						.parent("EXAMPLE-parent-Value")
						.rootDocId("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value").build())
					.name("EXAMPLE-name-Value")
					.description("EXAMPLE-description-Value")
					.objectVersion(635)
					.objectStatus(859)
					.identifier("EXAMPLE-identifier-Value")
					.primarySchema(Schema.builder()
						.key("EXAMPLE-key-Value")
						.modelType("EXAMPLE-modelType-Value")
						.modelVersion("EXAMPLE-modelVersion-Value")
						.parentRef(ParentReference.builder()
							.parent("EXAMPLE-parent-Value")
							.rootDocId("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value").build())
						.name("EXAMPLE-name-Value")
						.resourceName("EXAMPLE-resourceName-Value")
						.description("EXAMPLE-description-Value")
						.objectVersion(158)
						.externalKey("EXAMPLE-externalKey-Value")
						.isHasContainers(false)
						.defaultConnection("EXAMPLE-defaultConnection-Value")
						.objectStatus(421)
						.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("Wed Jun 11 18:49:44 UTC 2014"))
							.timeUpdated(new Date("Wed Dec 26 11:43:03 UTC 2018"))
							.aggregatorKey("EXAMPLE-aggregatorKey-Value")
							.aggregator(AggregatorSummary.builder()
								.type("EXAMPLE-type-Value")
								.key("EXAMPLE-key-Value")
								.name("EXAMPLE-name-Value")
								.identifier("EXAMPLE-identifier-Value")
								.description("EXAMPLE-description-Value").build())
							.identifierPath("EXAMPLE-identifierPath-Value")
							.infoFields(new HashMap<java.lang.String, java.lang.String>() {
									{
										put("EXAMPLE_KEY_n9POt","EXAMPLE_VALUE_wIRAal7hXaGcubjTQvye");
									}
 								})
							.registryVersion(491)
							.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
							.isFavorite(false)
							.countStatistics(CountStatistic.builder()
								.objectTypeCountList(new ArrayList<>(Arrays.asList(CountStatisticSummary.builder()
										.objectType(CountStatisticSummary.ObjectType.Project)
										.objectCount(295L).build()))).build()).build()).build())
					.connectionProperties(new ArrayList<>(Arrays.asList(ConnectionProperty.builder()
							.name("EXAMPLE-name-Value")
							.value("EXAMPLE-value-Value").build())))
					.isDefault(true)
					.metadata(ObjectMetadata.builder()
						.createdBy("EXAMPLE-createdBy-Value")
						.createdByName("EXAMPLE-createdByName-Value")
						.updatedBy("EXAMPLE-updatedBy-Value")
						.updatedByName("EXAMPLE-updatedByName-Value")
						.timeCreated(new Date("Sun Sep 27 15:26:42 UTC 2020"))
						.timeUpdated(new Date("Sun Mar 07 06:09:29 UTC 2027"))
						.aggregatorKey("EXAMPLE-aggregatorKey-Value")
						.aggregator(AggregatorSummary.builder()
							.type("EXAMPLE-type-Value")
							.key("EXAMPLE-key-Value")
							.name("EXAMPLE-name-Value")
							.identifier("EXAMPLE-identifier-Value")
							.description("EXAMPLE-description-Value").build())
						.identifierPath("EXAMPLE-identifierPath-Value")
						.infoFields(new HashMap<java.lang.String, java.lang.String>() {
								{
									put("EXAMPLE_KEY_qqx0h","EXAMPLE_VALUE_SSHqhgIxrkH2RPUUgN2b");
								}
 							})
						.registryVersion(478)
						.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
						.isFavorite(true)
						.countStatistics(CountStatistic.builder()
							.objectTypeCountList(new ArrayList<>(Arrays.asList(CountStatisticSummary.builder()
									.objectType(CountStatisticSummary.ObjectType.Task)
									.objectCount(331L).build()))).build()).build()).build())
				.key("EXAMPLE-key-Value")
				.modelVersion("EXAMPLE-modelVersion-Value")
				.name("EXAMPLE-name-Value")
				.description("EXAMPLE-description-Value")
				.objectStatus(496)
				.identifier("EXAMPLE-identifier-Value")
				.externalKey("EXAMPLE-externalKey-Value")
				.assetProperties(new HashMap<java.lang.String, java.lang.String>() {
						{
							put("EXAMPLE_KEY_Yuapq","EXAMPLE_VALUE_J8lTqooPYgHvUf21Zs82");
						}
 					})
				.nativeTypeSystem(TypeSystem.builder()
					.key("EXAMPLE-key-Value")
					.modelType("EXAMPLE-modelType-Value")
					.modelVersion("EXAMPLE-modelVersion-Value")
					.parentRef(ParentReference.builder()
						.parent("EXAMPLE-parent-Value")
						.rootDocId("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value").build())
					.name("EXAMPLE-name-Value")
					.description("EXAMPLE-description-Value")
					.objectVersion(907)
					.typeMappingTo(new HashMap<java.lang.String, java.lang.String>() {
							{
								put("EXAMPLE_KEY_4HhC7","EXAMPLE_VALUE_aNsdkLcQN5BiQQtSwc9S");
							}
 						})
					.typeMappingFrom(new HashMap<java.lang.String, java.lang.String>() {
							{
								put("EXAMPLE_KEY_vgt2T","EXAMPLE_VALUE_vlcnw0vYDKS5L0LuW3ey");
							}
 						})
					.objectStatus(457)
					.identifier("EXAMPLE-identifier-Value")
					.types(new ArrayList<>(Arrays.asList(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")
									.rootDocId("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value").build())
								.name("EXAMPLE-name-Value")
								.isContained(false)
								.objectStatus(194)
								.configParameterDefinitions(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterDefinition>() {
										{
											put("EXAMPLE_KEY_jE6pg",ConfigParameterDefinition.builder()
										.parameterType(DynamicType.builder()
											.typeHandler(RuleTypeConfig.builder()
												.key("EXAMPLE-key-Value")
												.modelVersion("EXAMPLE-modelVersion-Value")
												.parentRef(ParentReference.builder()
													.parent("EXAMPLE-parent-Value")
													.rootDocId("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value").build())
												.scope("EXAMPLE-scope-Value")
												.scopeReference(ScopeReference.builder()
													.referenceObject("EXAMPLE-referenceObject-Value")
													.referenceType(ScopeReference.ReferenceType.OciFunctionOutputShape)
													.refObjectName("EXAMPLE-refObjectName-Value").build())
												.isOrderByRule(false)
												.projectionRules(new ArrayList<>(Arrays.asList(TypedNamePatternRule.builder()
														.types(new ArrayList<>(Arrays.asList("EXAMPLE-types-Value")))
														.isSkipRemainingRulesOnMatch(false)
														.scope("EXAMPLE-scope-Value")
														.isCascade(true)
														.matchingStrategy(TypedNamePatternRule.MatchingStrategy.TagsOnly)
														.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")
															.rootDocId("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value").build())
														.isJavaRegexSyntax(true)
														.configValues(ConfigValues.builder()
															.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
																	{
																		put("EXAMPLE_KEY_iNylF",ConfigParameterValue.builder()
																	.stringValue("EXAMPLE-stringValue-Value")
																	.intValue(590)
																	.objectValue("EXAMPLE-objectValue-Value")
																	.refValue("EXAMPLE-refValue-Value")
																	.parameterValue("EXAMPLE-parameterValue-Value")
																	.rootObjectValue("EXAMPLE-rootObjectValue-Value").build());
																	}
 																})
															.parentRef(ParentReference.builder()
																.parent("EXAMPLE-parent-Value")
																.rootDocId("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value").build()).build())
														.objectStatus(225)
														.description("EXAMPLE-description-Value").build())))
												.configValues(ConfigValues.builder()
													.configParamValues(new HashMap<java.lang.String, com.oracle.bmc.dataintegration.model.ConfigParameterValue>() {
															{
																put("EXAMPLE_KEY_P1HvD",ConfigParameterValue.builder()
															.stringValue("EXAMPLE-stringValue-Value")
															.intValue(590)
															.objectValue("EXAMPLE-objectValue-Value")
															.refValue("EXAMPLE-refValue-Value")
															.parameterValue("EXAMPLE-parameterValue-Value")
															.rootObjectValue("EXAMPLE-rootObjectValue-Value").build());
															}
 														})
													.parentRef(ParentReference.builder()
														.parent("EXAMPLE-parent-Value")
														.rootDocId("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value").build()).build())
												.objectStatus(759).build())
											.key("EXAMPLE-key-Value")
											.modelVersion("EXAMPLE-modelVersion-Value")
											.parentRef(ParentReference.builder()
												.parent("EXAMPLE-parent-Value")
												.rootDocId("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value").build())
											.name("EXAMPLE-name-Value")
											.objectStatus(634)
											.description("EXAMPLE-description-Value").build())
										.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")
								.rootDocId("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value").build())
							.name("EXAMPLE-name-Value")
							.objectStatus(719)
							.description("EXAMPLE-description-Value").build()))).build())
				.objectVersion(250)
				.parentRef(ParentReference.builder()
					.parent("EXAMPLE-parent-Value")
					.rootDocId("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value").build())
				.metadata(ObjectMetadata.builder()
					.createdBy("EXAMPLE-createdBy-Value")
					.createdByName("EXAMPLE-createdByName-Value")
					.updatedBy("EXAMPLE-updatedBy-Value")
					.updatedByName("EXAMPLE-updatedByName-Value")
					.timeCreated(new Date("Sun Oct 08 02:09:24 UTC 2006"))
					.timeUpdated(new Date("Mon Jan 15 12:26:53 UTC 2007"))
					.aggregatorKey("EXAMPLE-aggregatorKey-Value")
					.aggregator(AggregatorSummary.builder()
						.type("EXAMPLE-type-Value")
						.key("EXAMPLE-key-Value")
						.name("EXAMPLE-name-Value")
						.identifier("EXAMPLE-identifier-Value")
						.description("EXAMPLE-description-Value").build())
					.identifierPath("EXAMPLE-identifierPath-Value")
					.infoFields(new HashMap<java.lang.String, java.lang.String>() {
							{
								put("EXAMPLE_KEY_ocN1c","EXAMPLE_VALUE_nrY2BpN4GYxoV33FiF7Y");
							}
 						})
					.registryVersion(813)
					.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
					.isFavorite(false)
					.countStatistics(CountStatistic.builder()
						.objectTypeCountList(new ArrayList<>(Arrays.asList(CountStatisticSummary.builder()
								.objectType(CountStatisticSummary.ObjectType.Folder)
								.objectCount(963L).build()))).build()).build())
				.keyMap(new HashMap<java.lang.String, java.lang.String>() {
						{
							put("EXAMPLE_KEY_r23dC","EXAMPLE_VALUE_nNRC3yTD6YppARbKKr2A");
						}
 					}).build())
			.stagingConnection(ConnectionFromOracleEbs.builder()
				.username("EXAMPLE-username-Value")
				.password("EXAMPLE-password-Value")
				.passwordSecret(SensitiveAttribute.builder()
					.secretConfig(OciVaultSecretConfig.builder()
						.secretId("ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value").build())
					.value("EXAMPLE-value-Value").build())
				.key("EXAMPLE-key-Value")
				.modelVersion("EXAMPLE-modelVersion-Value")
				.parentRef(ParentReference.builder()
					.parent("EXAMPLE-parent-Value")
					.rootDocId("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value").build())
				.name("EXAMPLE-name-Value")
				.description("EXAMPLE-description-Value")
				.objectVersion(173)
				.objectStatus(739)
				.identifier("EXAMPLE-identifier-Value")
				.primarySchema(Schema.builder()
					.key("EXAMPLE-key-Value")
					.modelType("EXAMPLE-modelType-Value")
					.modelVersion("EXAMPLE-modelVersion-Value")
					.parentRef(ParentReference.builder()
						.parent("EXAMPLE-parent-Value")
						.rootDocId("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value").build())
					.name("EXAMPLE-name-Value")
					.resourceName("EXAMPLE-resourceName-Value")
					.description("EXAMPLE-description-Value")
					.objectVersion(702)
					.externalKey("EXAMPLE-externalKey-Value")
					.isHasContainers(false)
					.defaultConnection("EXAMPLE-defaultConnection-Value")
					.objectStatus(40)
					.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("Wed Jan 14 19:27:23 UTC 2026"))
						.timeUpdated(new Date("Fri Dec 10 08:50:35 UTC 2038"))
						.aggregatorKey("EXAMPLE-aggregatorKey-Value")
						.aggregator(AggregatorSummary.builder()
							.type("EXAMPLE-type-Value")
							.key("EXAMPLE-key-Value")
							.name("EXAMPLE-name-Value")
							.identifier("EXAMPLE-identifier-Value")
							.description("EXAMPLE-description-Value").build())
						.identifierPath("EXAMPLE-identifierPath-Value")
						.infoFields(new HashMap<java.lang.String, java.lang.String>() {
								{
									put("EXAMPLE_KEY_3yaUW","EXAMPLE_VALUE_PYzY9s3HWbjyNb0ZFaRT");
								}
 							})
						.registryVersion(212)
						.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
						.isFavorite(false)
						.countStatistics(CountStatistic.builder()
							.objectTypeCountList(new ArrayList<>(Arrays.asList(CountStatisticSummary.builder()
									.objectType(CountStatisticSummary.ObjectType.Connection)
									.objectCount(401L).build()))).build()).build()).build())
				.connectionProperties(new ArrayList<>(Arrays.asList(ConnectionProperty.builder()
						.name("EXAMPLE-name-Value")
						.value("EXAMPLE-value-Value").build())))
				.isDefault(false)
				.metadata(ObjectMetadata.builder()
					.createdBy("EXAMPLE-createdBy-Value")
					.createdByName("EXAMPLE-createdByName-Value")
					.updatedBy("EXAMPLE-updatedBy-Value")
					.updatedByName("EXAMPLE-updatedByName-Value")
					.timeCreated(new Date("Wed Sep 22 18:41:13 UTC 2010"))
					.timeUpdated(new Date("Mon Sep 10 21:45:49 UTC 2012"))
					.aggregatorKey("EXAMPLE-aggregatorKey-Value")
					.aggregator(AggregatorSummary.builder()
						.type("EXAMPLE-type-Value")
						.key("EXAMPLE-key-Value")
						.name("EXAMPLE-name-Value")
						.identifier("EXAMPLE-identifier-Value")
						.description("EXAMPLE-description-Value").build())
					.identifierPath("EXAMPLE-identifierPath-Value")
					.infoFields(new HashMap<java.lang.String, java.lang.String>() {
							{
								put("EXAMPLE_KEY_qQnMg","EXAMPLE_VALUE_3NCxIW62zegW402zZAJg");
							}
 						})
					.registryVersion(388)
					.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
					.isFavorite(false)
					.countStatistics(CountStatistic.builder()
						.objectTypeCountList(new ArrayList<>(Arrays.asList(CountStatisticSummary.builder()
								.objectType(CountStatisticSummary.ObjectType.Folder)
								.objectCount(327L).build()))).build()).build())
				.keyMap(new HashMap<java.lang.String, java.lang.String>() {
						{
							put("EXAMPLE_KEY_0h7po","EXAMPLE_VALUE_8AoNnO2WKUFYwYuK12nw");
						}
 					}).build())
			.bucketSchema(Schema.builder()
				.key("EXAMPLE-key-Value")
				.modelType("EXAMPLE-modelType-Value")
				.modelVersion("EXAMPLE-modelVersion-Value")
				.parentRef(ParentReference.builder()
					.parent("EXAMPLE-parent-Value")
					.rootDocId("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value").build())
				.name("EXAMPLE-name-Value")
				.resourceName("EXAMPLE-resourceName-Value")
				.description("EXAMPLE-description-Value")
				.objectVersion(520)
				.externalKey("EXAMPLE-externalKey-Value")
				.isHasContainers(false)
				.defaultConnection("EXAMPLE-defaultConnection-Value")
				.objectStatus(584)
				.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("Wed Jul 25 08:06:40 UTC 2012"))
					.timeUpdated(new Date("Tue Apr 26 10:48:58 UTC 2033"))
					.aggregatorKey("EXAMPLE-aggregatorKey-Value")
					.aggregator(AggregatorSummary.builder()
						.type("EXAMPLE-type-Value")
						.key("EXAMPLE-key-Value")
						.name("EXAMPLE-name-Value")
						.identifier("EXAMPLE-identifier-Value")
						.description("EXAMPLE-description-Value").build())
					.identifierPath("EXAMPLE-identifierPath-Value")
					.infoFields(new HashMap<java.lang.String, java.lang.String>() {
							{
								put("EXAMPLE_KEY_z2xbG","EXAMPLE_VALUE_2vSufLhZHcDYUGdTEXYD");
							}
 						})
					.registryVersion(355)
					.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
					.isFavorite(false)
					.countStatistics(CountStatistic.builder()
						.objectTypeCountList(new ArrayList<>(Arrays.asList(CountStatisticSummary.builder()
								.objectType(CountStatisticSummary.ObjectType.DataAsset)
								.objectCount(643L).build()))).build()).build()).build())
			.key("EXAMPLE-key-Value")
			.modelVersion("EXAMPLE-modelVersion-Value")
			.name("EXAMPLE-name-Value")
			.description("EXAMPLE-description-Value")
			.objectStatus(786)
			.identifier("EXAMPLE-identifier-Value")
			.externalKey("EXAMPLE-externalKey-Value")
			.assetProperties(new HashMap<java.lang.String, java.lang.String>() {
					{
						put("EXAMPLE_KEY_I6c6J","EXAMPLE_VALUE_e1JBjSoUsdnGu3Iy0G3D");
					}
 				})
			.registryMetadata(RegistryMetadata.builder()
				.aggregatorKey("EXAMPLE-aggregatorKey-Value")
				.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
				.registryVersion(922)
				.key("EXAMPLE-key-Value")
				.isFavorite(false).build()).build())
		.connection(CreateConnectionFromOraclePeopleSoft.builder()
			.username("EXAMPLE-username-Value")
			.password("EXAMPLE-password-Value")
			.passwordSecret(SensitiveAttribute.builder()
				.secretConfig(OciVaultSecretConfig.builder()
					.secretId("ocid1.test.oc1..<unique_ID>EXAMPLE-secretId-Value").build())
				.value("EXAMPLE-value-Value").build())
			.key("EXAMPLE-key-Value")
			.modelVersion("EXAMPLE-modelVersion-Value")
			.parentRef(ParentReference.builder()
				.parent("EXAMPLE-parent-Value")
				.rootDocId("ocid1.test.oc1..<unique_ID>EXAMPLE-rootDocId-Value").build())
			.name("EXAMPLE-name-Value")
			.description("EXAMPLE-description-Value")
			.objectStatus(10)
			.identifier("EXAMPLE-identifier-Value")
			.connectionProperties(new ArrayList<>(Arrays.asList(ConnectionProperty.builder()
					.name("EXAMPLE-name-Value")
					.value("EXAMPLE-value-Value").build())))
			.registryMetadata(RegistryMetadata.builder()
				.aggregatorKey("EXAMPLE-aggregatorKey-Value")
				.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
				.registryVersion(934)
				.key("EXAMPLE-key-Value")
				.isFavorite(true).build()).build())
		.registryMetadata(RegistryMetadata.builder()
			.aggregatorKey("EXAMPLE-aggregatorKey-Value")
			.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
			.registryVersion(642)
			.key("EXAMPLE-key-Value")
			.isFavorite(true).build()).build();

	CreateConnectionValidationRequest createConnectionValidationRequest = CreateConnectionValidationRequest.builder()
		.workspaceId("ocid1.test.oc1..<unique_ID>EXAMPLE-workspaceId-Value")
		.createConnectionValidationDetails(createConnectionValidationDetails)
		.opcRequestId("EP2K8TWAUKQP0TVPOIXT<unique_ID>")
		.opcRetryToken("EXAMPLE-opcRetryToken-Value").build();

        /* Send request to the Client */
        CreateConnectionValidationResponse response = client.createConnectionValidation(createConnectionValidationRequest);
    }

    
}