/** 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.dataconnectivity.DataConnectivityManagementClient;
import com.oracle.bmc.dataconnectivity.model.*;
import com.oracle.bmc.dataconnectivity.requests.*;
import com.oracle.bmc.dataconnectivity.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 CreateDataProfileExample {
    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 */
        DataConnectivityManagementClient client = new DataConnectivityManagementClient(provider);

        /* Create a request and dependent object(s). */
	CreateDataProfileDetails createDataProfileDetails = CreateDataProfileDetails.builder()
		.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(ExcelFormatAttribute.builder()
					.dataAddress("EXAMPLE-dataAddress-Value")
					.header(true)
					.password("EXAMPLE-password-Value").build())
				.type(DataFormat.Type.Json)
				.compressionConfig(Compression.builder()
					.codec(Compression.Codec.Snappy).build()).build())
			.partitionConfig(KeyRangePartitionConfig.builder()
				.partitionNumber(0)
				.keyRange(KeyRange.builder()
					.key(ShapeField.builder()
						.type("EXAMPLE-type-Value")
						.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
						.nativeShapeField(NativeShapeField.builder()
							.type("EXAMPLE-type-Value")
							.position(716)
							.defaultValueString("EXAMPLE-defaultValueString-Value")
							.isMandatory(true)
							.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.dataconnectivity.model.ConfigParameterValue>() {
										{
											put("EXAMPLE_KEY_BrsNl",ConfigParameterValue.builder()
										.stringValue("EXAMPLE-stringValue-Value")
										.intValue(471)
										.objectValue("EXAMPLE-objectValue-Value")
										.refValue("EXAMPLE-refValue-Value")
										.parameterValue("EXAMPLE-parameterValue-Value").build());
										}
 									})
								.parentRef(ParentReference.builder()
									.parent("EXAMPLE-parent-Value").build()).build())
							.objectStatus(902)
							.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.dataconnectivity.model.ConfigParameterValue>() {
									{
										put("EXAMPLE_KEY_izeEK",ConfigParameterValue.builder()
									.stringValue("EXAMPLE-stringValue-Value")
									.intValue(178)
									.objectValue("EXAMPLE-objectValue-Value")
									.refValue("EXAMPLE-refValue-Value")
									.parameterValue("EXAMPLE-parameterValue-Value").build());
									}
 								})
							.parentRef(ParentReference.builder()
								.parent("EXAMPLE-parent-Value").build()).build())
						.objectStatus(489)
						.name("EXAMPLE-name-Value")
						.description("EXAMPLE-description-Value").build()).build()).build())
			.readAttribute(OracleReadAttribute.builder()
				.fetchSize(858).build())
			.objectStatus(561)
			.readRawData(true)
			.derivedAttributes(new HashMap<java.lang.String, java.lang.String>() {
					{
						put("EXAMPLE_KEY_OuLei","EXAMPLE_VALUE_NIR4Wn75CVAghOz5P5Ma");
					}
 				}).build())
		.dataAsset(DataAsset.builder()
			.key("EXAMPLE-key-Value")
			.modelVersion("EXAMPLE-modelVersion-Value")
			.modelType("EXAMPLE-modelType-Value")
			.name("EXAMPLE-name-Value")
			.description("EXAMPLE-description-Value")
			.objectStatus(123)
			.objectVersion(414)
			.identifier("EXAMPLE-identifier-Value")
			.externalKey("EXAMPLE-externalKey-Value")
			.assetProperties(new HashMap<java.lang.String, java.lang.String>() {
					{
						put("EXAMPLE_KEY_98N03","EXAMPLE_VALUE_fhZeel3KJnNiRt6T7z2Z");
					}
 				})
			.properties(new HashMap<java.lang.String, java.lang.Object>() {
					{
						put("EXAMPLE_KEY_Vrn1X","EXAMPLE--Value");
					}
 				})
			.type("EXAMPLE-type-Value")
			.nativeTypeSystem(TypeSystem.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(188)
				.typeMappingTo(new HashMap<java.lang.String, java.lang.String>() {
						{
							put("EXAMPLE_KEY_5uxNH","EXAMPLE_VALUE_hP9tgFfNh8hynIfDB49b");
						}
 					})
				.typeMappingFrom(new HashMap<java.lang.String, java.lang.String>() {
						{
							put("EXAMPLE_KEY_edpdS","EXAMPLE_VALUE_BC57eaOukZV9YKevQQYN");
						}
 					})
				.objectStatus(158)
				.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").build())
							.name("EXAMPLE-name-Value")
							.isContained(true)
							.objectStatus(118)
							.configParameterDefinitions(new HashMap<java.lang.String, com.oracle.bmc.dataconnectivity.model.ConfigParameterDefinition>() {
									{
										put("EXAMPLE_KEY_2ryMO",ConfigParameterDefinition.builder()
									.parameterType(StructuredType.builder()
										.key("EXAMPLE-key-Value")
										.modelVersion("EXAMPLE-modelVersion-Value")
										.parentRef(ParentReference.builder()
											.parent("EXAMPLE-parent-Value").build())
										.name("EXAMPLE-name-Value")
										.objectStatus(216)
										.description("EXAMPLE-description-Value").build())
									.parameterName("EXAMPLE-parameterName-Value")
									.description("EXAMPLE-description-Value")
									.defaultValue("EXAMPLE-defaultValue-Value")
									.classFieldName("EXAMPLE-classFieldName-Value")
									.isStatic(false)
									.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(156)
						.description("EXAMPLE-description-Value").build()))).build())
			.registryMetadata(RegistryMetadata.builder()
				.aggregatorKey("EXAMPLE-aggregatorKey-Value")
				.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
				.registryVersion(733)
				.key("EXAMPLE-key-Value")
				.isFavorite(true)
				.createdByUserId("ocid1.test.oc1..<unique_ID>EXAMPLE-createdByUserId-Value")
				.createdByUserName("EXAMPLE-createdByUserName-Value")
				.updatedByUserId("ocid1.test.oc1..<unique_ID>EXAMPLE-updatedByUserId-Value")
				.updatedByUserName("EXAMPLE-updatedByUserName-Value")
				.timeCreated(new Date("Sun Dec 06 05:39:55 UTC 2048"))
				.timeUpdated(new Date("Wed Jan 05 00:09:33 UTC 2033")).build())
			.metadata(ObjectMetadata.builder()
				.createdBy("EXAMPLE-createdBy-Value")
				.createdByName("EXAMPLE-createdByName-Value")
				.updatedBy("EXAMPLE-updatedBy-Value")
				.updatedByName("EXAMPLE-updatedByName-Value")
				.timeCreated(new Date("Fri Jan 18 10:53:24 UTC 2036"))
				.timeUpdated(new Date("Sun Nov 03 18:00:05 UTC 2030"))
				.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_ysCwV","EXAMPLE_VALUE_FdCkpNOPsNIpByscxbMe");
						}
 					})
				.registryVersion(738)
				.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
				.isFavorite(true).build())
			.defaultConnection(Connection.builder()
				.key("EXAMPLE-key-Value")
				.modelVersion("EXAMPLE-modelVersion-Value")
				.modelType("EXAMPLE-modelType-Value")
				.name("EXAMPLE-name-Value")
				.description("EXAMPLE-description-Value")
				.objectVersion(411)
				.objectStatus(995)
				.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").build())
					.name("EXAMPLE-name-Value")
					.resourceName("EXAMPLE-resourceName-Value")
					.description("EXAMPLE-description-Value")
					.objectVersion(734)
					.externalKey("EXAMPLE-externalKey-Value")
					.isHasContainers(false)
					.defaultConnection("EXAMPLE-defaultConnection-Value")
					.objectStatus(600)
					.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("Fri Nov 08 20:52:53 UTC 2002"))
						.timeUpdated(new Date("Sun Jun 29 16:00:03 UTC 2025"))
						.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_r4D3K","EXAMPLE_VALUE_pRR4GtqqLPl7gHVthdfL");
								}
 							})
						.registryVersion(283)
						.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
						.isFavorite(false).build()).build())
				.connectionProperties(new ArrayList<>(Arrays.asList(ConnectionProperty.builder()
						.name("EXAMPLE-name-Value")
						.value("EXAMPLE-value-Value").build())))
				.properties(new HashMap<java.lang.String, java.lang.Object>() {
						{
							put("EXAMPLE_KEY_mPugi","EXAMPLE--Value");
						}
 					})
				.type("EXAMPLE-type-Value")
				.isDefault(false)
				.metadata(ObjectMetadata.builder()
					.createdBy("EXAMPLE-createdBy-Value")
					.createdByName("EXAMPLE-createdByName-Value")
					.updatedBy("EXAMPLE-updatedBy-Value")
					.updatedByName("EXAMPLE-updatedByName-Value")
					.timeCreated(new Date("Sat Jun 16 17:26:43 UTC 2007"))
					.timeUpdated(new Date("Wed Jan 21 12:46:46 UTC 2004"))
					.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_McDDq","EXAMPLE_VALUE_s5cK6n1QG3UrWXC7RSKS");
							}
 						})
					.registryVersion(659)
					.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
					.isFavorite(false).build())
				.registryMetadata(RegistryMetadata.builder()
					.aggregatorKey("EXAMPLE-aggregatorKey-Value")
					.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
					.registryVersion(702)
					.key("EXAMPLE-key-Value")
					.isFavorite(false)
					.createdByUserId("ocid1.test.oc1..<unique_ID>EXAMPLE-createdByUserId-Value")
					.createdByUserName("EXAMPLE-createdByUserName-Value")
					.updatedByUserId("ocid1.test.oc1..<unique_ID>EXAMPLE-updatedByUserId-Value")
					.updatedByUserName("EXAMPLE-updatedByUserName-Value")
					.timeCreated(new Date("Sun Apr 26 01:41:45 UTC 2009"))
					.timeUpdated(new Date("Wed Oct 19 11:34:07 UTC 2039")).build()).build())
			.endPoints(new ArrayList<>(Arrays.asList(DpEndpointFromPublic.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(642)
					.objectStatus(151)
					.identifier("EXAMPLE-identifier-Value").build()))).build())
		.connection(Connection.builder()
			.key("EXAMPLE-key-Value")
			.modelVersion("EXAMPLE-modelVersion-Value")
			.modelType("EXAMPLE-modelType-Value")
			.name("EXAMPLE-name-Value")
			.description("EXAMPLE-description-Value")
			.objectVersion(174)
			.objectStatus(114)
			.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").build())
				.name("EXAMPLE-name-Value")
				.resourceName("EXAMPLE-resourceName-Value")
				.description("EXAMPLE-description-Value")
				.objectVersion(57)
				.externalKey("EXAMPLE-externalKey-Value")
				.isHasContainers(false)
				.defaultConnection("EXAMPLE-defaultConnection-Value")
				.objectStatus(364)
				.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("Sun Dec 17 22:34:50 UTC 2017"))
					.timeUpdated(new Date("Tue Dec 26 06:51:21 UTC 2006"))
					.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_bPteM","EXAMPLE_VALUE_84XXF3fyauYPr7yzFtWD");
							}
 						})
					.registryVersion(459)
					.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
					.isFavorite(true).build()).build())
			.connectionProperties(new ArrayList<>(Arrays.asList(ConnectionProperty.builder()
					.name("EXAMPLE-name-Value")
					.value("EXAMPLE-value-Value").build())))
			.properties(new HashMap<java.lang.String, java.lang.Object>() {
					{
						put("EXAMPLE_KEY_jDpQe","EXAMPLE--Value");
					}
 				})
			.type("EXAMPLE-type-Value")
			.isDefault(false)
			.metadata(ObjectMetadata.builder()
				.createdBy("EXAMPLE-createdBy-Value")
				.createdByName("EXAMPLE-createdByName-Value")
				.updatedBy("EXAMPLE-updatedBy-Value")
				.updatedByName("EXAMPLE-updatedByName-Value")
				.timeCreated(new Date("Sat Jun 18 02:59:17 UTC 2005"))
				.timeUpdated(new Date("Tue Jun 01 20:56:23 UTC 2032"))
				.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_RaB5f","EXAMPLE_VALUE_AE2NEYObK5ic3l09aHsT");
						}
 					})
				.registryVersion(451)
				.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
				.isFavorite(true).build())
			.registryMetadata(RegistryMetadata.builder()
				.aggregatorKey("EXAMPLE-aggregatorKey-Value")
				.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
				.registryVersion(94)
				.key("EXAMPLE-key-Value")
				.isFavorite(false)
				.createdByUserId("ocid1.test.oc1..<unique_ID>EXAMPLE-createdByUserId-Value")
				.createdByUserName("EXAMPLE-createdByUserName-Value")
				.updatedByUserId("ocid1.test.oc1..<unique_ID>EXAMPLE-updatedByUserId-Value")
				.updatedByUserName("EXAMPLE-updatedByUserName-Value")
				.timeCreated(new Date("Fri Apr 01 01:01:17 UTC 2022"))
				.timeUpdated(new Date("Sat Mar 11 00:36:11 UTC 2000")).build()).build())
		.schema(Schema.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")
			.resourceName("EXAMPLE-resourceName-Value")
			.description("EXAMPLE-description-Value")
			.objectVersion(610)
			.externalKey("EXAMPLE-externalKey-Value")
			.isHasContainers(false)
			.defaultConnection("EXAMPLE-defaultConnection-Value")
			.objectStatus(300)
			.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("Fri Jul 03 08:02:38 UTC 2037"))
				.timeUpdated(new Date("Mon Oct 16 10:04:11 UTC 2023"))
				.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_7dhTn","EXAMPLE_VALUE_pnZPsHCFI647P6qFH1vb");
						}
 					})
				.registryVersion(49)
				.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
				.isFavorite(true).build()).build())
		.dataEntity(DataEntityFromDataStore.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(888)
			.externalKey("EXAMPLE-externalKey-Value")
			.shape(Shape.builder()
				.type(StructuredType.builder()
					.key("EXAMPLE-key-Value")
					.modelVersion("EXAMPLE-modelVersion-Value")
					.parentRef(ParentReference.builder()
						.parent("EXAMPLE-parent-Value").build())
					.name("EXAMPLE-name-Value")
					.objectStatus(990)
					.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.dataconnectivity.model.ConfigParameterValue>() {
							{
								put("EXAMPLE_KEY_AdN84",ConfigParameterValue.builder()
							.stringValue("EXAMPLE-stringValue-Value")
							.intValue(573)
							.objectValue("EXAMPLE-objectValue-Value")
							.refValue("EXAMPLE-refValue-Value")
							.parameterValue("EXAMPLE-parameterValue-Value").build());
							}
 						})
					.parentRef(ParentReference.builder()
						.parent("EXAMPLE-parent-Value").build()).build())
				.objectStatus(298)
				.name("EXAMPLE-name-Value")
				.description("EXAMPLE-description-Value").build())
			.shapeId("ocid1.test.oc1..<unique_ID>EXAMPLE-shapeId-Value")
			.entityType(DataEntityFromDataStore.EntityType.DataStore)
			.otherTypeLabel("EXAMPLE-otherTypeLabel-Value")
			.uniqueKeys(new ArrayList<>(Arrays.asList(PrimaryKey.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(889)
							.attribute(ShapeField.builder()
								.type("EXAMPLE-type-Value")
								.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
								.nativeShapeField(NativeShapeField.builder()
									.type("EXAMPLE-type-Value")
									.position(66)
									.defaultValueString("EXAMPLE-defaultValueString-Value")
									.isMandatory(true)
									.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.dataconnectivity.model.ConfigParameterValue>() {
												{
													put("EXAMPLE_KEY_d0WKQ",ConfigParameterValue.builder()
												.stringValue("EXAMPLE-stringValue-Value")
												.intValue(581)
												.objectValue("EXAMPLE-objectValue-Value")
												.refValue("EXAMPLE-refValue-Value")
												.parameterValue("EXAMPLE-parameterValue-Value").build());
												}
 											})
										.parentRef(ParentReference.builder()
											.parent("EXAMPLE-parent-Value").build()).build())
									.objectStatus(251)
									.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.dataconnectivity.model.ConfigParameterValue>() {
											{
												put("EXAMPLE_KEY_eGKKm",ConfigParameterValue.builder()
											.stringValue("EXAMPLE-stringValue-Value")
											.intValue(972)
											.objectValue("EXAMPLE-objectValue-Value")
											.refValue("EXAMPLE-refValue-Value")
											.parameterValue("EXAMPLE-parameterValue-Value").build());
											}
 										})
									.parentRef(ParentReference.builder()
										.parent("EXAMPLE-parent-Value").build()).build())
								.objectStatus(817)
								.name("EXAMPLE-name-Value")
								.description("EXAMPLE-description-Value").build()).build())))
					.objectStatus(895).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(612)
							.attribute(ShapeField.builder()
								.type("EXAMPLE-type-Value")
								.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
								.nativeShapeField(NativeShapeField.builder()
									.type("EXAMPLE-type-Value")
									.position(611)
									.defaultValueString("EXAMPLE-defaultValueString-Value")
									.isMandatory(false)
									.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.dataconnectivity.model.ConfigParameterValue>() {
												{
													put("EXAMPLE_KEY_T0emr",ConfigParameterValue.builder()
												.stringValue("EXAMPLE-stringValue-Value")
												.intValue(859)
												.objectValue("EXAMPLE-objectValue-Value")
												.refValue("EXAMPLE-refValue-Value")
												.parameterValue("EXAMPLE-parameterValue-Value").build());
												}
 											})
										.parentRef(ParentReference.builder()
											.parent("EXAMPLE-parent-Value").build()).build())
									.objectStatus(71)
									.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.dataconnectivity.model.ConfigParameterValue>() {
											{
												put("EXAMPLE_KEY_pICqG",ConfigParameterValue.builder()
											.stringValue("EXAMPLE-stringValue-Value")
											.intValue(589)
											.objectValue("EXAMPLE-objectValue-Value")
											.refValue("EXAMPLE-refValue-Value")
											.parameterValue("EXAMPLE-parameterValue-Value").build());
											}
 										})
									.parentRef(ParentReference.builder()
										.parent("EXAMPLE-parent-Value").build()).build())
								.objectStatus(344)
								.name("EXAMPLE-name-Value")
								.description("EXAMPLE-description-Value").build()).build())))
					.updateRule(520)
					.deleteRule(888)
					.referenceUniqueKey(PrimaryKey.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(324)
								.attribute(ShapeField.builder()
									.type("EXAMPLE-type-Value")
									.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
									.nativeShapeField(NativeShapeField.builder()
										.type("EXAMPLE-type-Value")
										.position(182)
										.defaultValueString("EXAMPLE-defaultValueString-Value")
										.isMandatory(true)
										.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.dataconnectivity.model.ConfigParameterValue>() {
													{
														put("EXAMPLE_KEY_dQqsZ",ConfigParameterValue.builder()
													.stringValue("EXAMPLE-stringValue-Value")
													.intValue(257)
													.objectValue("EXAMPLE-objectValue-Value")
													.refValue("EXAMPLE-refValue-Value")
													.parameterValue("EXAMPLE-parameterValue-Value").build());
													}
 												})
											.parentRef(ParentReference.builder()
												.parent("EXAMPLE-parent-Value").build()).build())
										.objectStatus(785)
										.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.dataconnectivity.model.ConfigParameterValue>() {
												{
													put("EXAMPLE_KEY_LAXHI",ConfigParameterValue.builder()
												.stringValue("EXAMPLE-stringValue-Value")
												.intValue(437)
												.objectValue("EXAMPLE-objectValue-Value")
												.refValue("EXAMPLE-refValue-Value")
												.parameterValue("EXAMPLE-parameterValue-Value").build());
												}
 											})
										.parentRef(ParentReference.builder()
											.parent("EXAMPLE-parent-Value").build()).build())
									.objectStatus(173)
									.name("EXAMPLE-name-Value")
									.description("EXAMPLE-description-Value").build()).build())))
						.objectStatus(659).build())
					.objectStatus(661).build())))
			.resourceName("EXAMPLE-resourceName-Value")
			.objectStatus(284)
			.identifier("EXAMPLE-identifier-Value")
			.filters("EXAMPLE-filters-Value")
			.isEffectiveDateDisabled(true)
			.isFlexDataStore(true)
			.isSilentError(true)
			.supportsIncremental(true)
			.entityProperties(new HashMap<java.lang.String, java.lang.String>() {
					{
						put("EXAMPLE_KEY_MhOJG","EXAMPLE_VALUE_hLhgMm9pyX4Lh6WtuOaK");
					}
 				})
			.metadata(ObjectMetadata.builder()
				.createdBy("EXAMPLE-createdBy-Value")
				.createdByName("EXAMPLE-createdByName-Value")
				.updatedBy("EXAMPLE-updatedBy-Value")
				.updatedByName("EXAMPLE-updatedByName-Value")
				.timeCreated(new Date("Mon Jun 27 11:12:47 UTC 2005"))
				.timeUpdated(new Date("Sat Dec 02 18:32:01 UTC 2045"))
				.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_4wdwS","EXAMPLE_VALUE_WpCHI4XbhW5qQNI0yVxw");
						}
 					})
				.registryVersion(29)
				.labels(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
				.isFavorite(false).build()).build())
		.profileConfig(ProfileConfig.builder()
			.attributes(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
			.functions(new ArrayList<>(Arrays.asList(ProfileConfig.Functions.Histogram)))
			.topNValFreq(635)
			.patternThreshold(824)
			.dataTypeThreshold(574).build()).build();

	CreateDataProfileRequest createDataProfileRequest = CreateDataProfileRequest.builder()
		.registryId("ocid1.test.oc1..<unique_ID>EXAMPLE-registryId-Value")
		.createDataProfileDetails(createDataProfileDetails)
		.opcRequestId("ILIP7B0WOZZYF6VPC01X<unique_ID>")
		.opcRetryToken("EXAMPLE-opcRetryToken-Value")
		.ifMatch("EXAMPLE-ifMatch-Value")
		.endpointId("ocid1.test.oc1..<unique_ID>EXAMPLE-endpointId-Value").build();

        /* Send request to the Client */
        CreateDataProfileResponse response = client.createDataProfile(createDataProfileRequest);
    }

    
}