/** 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.loganalytics.LogAnalyticsClient;
import com.oracle.bmc.loganalytics.model.*;
import com.oracle.bmc.loganalytics.requests.*;
import com.oracle.bmc.loganalytics.responses.*;
import java.math.BigDecimal;

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


public class ValidateSourceExtendedFieldDetailsExample {
    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 */
        LogAnalyticsClient client = new LogAnalyticsClient(provider);

        /* Create a request and dependent object(s). */
	LogAnalyticsSource logAnalyticsSource = LogAnalyticsSource.builder()
		.labelConditions(new ArrayList<>(Arrays.asList(LogAnalyticsSourceLabelCondition.builder()
				.message("EXAMPLE-message-Value")
				.isVisible(true)
				.blockConditionField("EXAMPLE-blockConditionField-Value")
				.blockConditionOperator("EXAMPLE-blockConditionOperator-Value")
				.blockConditionValue("EXAMPLE-blockConditionValue-Value")
				.labelConditionValue("EXAMPLE-labelConditionValue-Value")
				.labelConditionValues(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
				.contentExample("EXAMPLE-contentExample-Value")
				.isEnabled(false)
				.fieldName("EXAMPLE-fieldName-Value")
				.labelConditionId(416L)
				.isSystem(true)
				.labelConditionOperator("EXAMPLE-labelConditionOperator-Value")
				.sourceId(727L)
				.labelDisplayName("EXAMPLE-labelDisplayName-Value")
				.storageField("EXAMPLE-storageField-Value")
				.labelName("EXAMPLE-labelName-Value")
				.isInlineLabelExistingInDatabase(false).build())))
		.associationCount(957)
		.associationEntity(new ArrayList<>(Arrays.asList(LogAnalyticsAssociation.builder()
				.failureMessage("EXAMPLE-failureMessage-Value")
				.agentId("ocid1.test.oc1..<unique_ID>EXAMPLE-agentId-Value")
				.timeLastAttempted(new Date("Mon Jul 04 06:47:46 UTC 2039"))
				.retryCount(951L)
				.sourceName("EXAMPLE-sourceName-Value")
				.sourceDisplayName("EXAMPLE-sourceDisplayName-Value")
				.sourceTypeName("EXAMPLE-sourceTypeName-Value")
				.lifeCycleState(LogAnalyticsAssociation.LifeCycleState.InProgress)
				.entityId("ocid1.test.oc1..<unique_ID>EXAMPLE-entityId-Value")
				.entityName("EXAMPLE-entityName-Value")
				.entityTypeName("EXAMPLE-entityTypeName-Value")
				.host("EXAMPLE-host-Value")
				.agentEntityName("EXAMPLE-agentEntityName-Value")
				.entityTypeDisplayName("EXAMPLE-entityTypeDisplayName-Value")
				.logGroupId("ocid1.test.oc1..<unique_ID>EXAMPLE-logGroupId-Value")
				.logGroupName("EXAMPLE-logGroupName-Value")
				.logGroupCompartment("EXAMPLE-logGroupCompartment-Value").build())))
		.dataFilterDefinitions(new ArrayList<>(Arrays.asList(LogAnalyticsSourceDataFilter.builder()
				.description("EXAMPLE-description-Value")
				.displayName("EXAMPLE-displayName-Value")
				.editVersion(128L)
				.isEnabled(false)
				.fieldName("EXAMPLE-fieldName-Value")
				.hashType(943)
				.dataFilterId(32L)
				.isSystem(true)
				.matchRegularExpression("EXAMPLE-matchRegularExpression-Value")
				.order(175L)
				.path("EXAMPLE-path-Value")
				.replacementString("EXAMPLE-replacementString-Value")
				.sourceId(13L)
				.filterType(LogAnalyticsSourceDataFilter.FilterType.DropString).build())))
		.databaseCredential("EXAMPLE-databaseCredential-Value")
		.extendedFieldDefinitions(new ArrayList<>(Arrays.asList(LogAnalyticsSourceExtendedFieldDefinition.builder()
				.field(LogAnalyticsField.builder()
					.ceeAlias("EXAMPLE-ceeAlias-Value")
					.dataType("EXAMPLE-dataType-Value")
					.regularExpression("EXAMPLE-regularExpression-Value")
					.description("EXAMPLE-description-Value")
					.displayName("EXAMPLE-displayName-Value")
					.editVersion(618L)
					.facetPriority(779L)
					.name("EXAMPLE-name-Value")
					.isFacetEligible(true)
					.isHighCardinality(true)
					.isLargeData(false)
					.isMultiValued(false)
					.isPrimary(false)
					.isSystem(true)
					.isSummarizable(true)
					.mappedValue("EXAMPLE-mappedValue-Value")
					.isMetricKeyEligible(true)
					.isMetricValueEligible(false)
					.rangeFacetEligible(754L)
					.isTableEligible(true)
					.unitType("EXAMPLE-unitType-Value").build())
				.displayRegularExpression("EXAMPLE-displayRegularExpression-Value")
				.extendedFields(new ArrayList<>(Arrays.asList(LogAnalyticsExtendedField.builder()
						.field(LogAnalyticsField.builder()
							.ceeAlias("EXAMPLE-ceeAlias-Value")
							.dataType("EXAMPLE-dataType-Value")
							.regularExpression("EXAMPLE-regularExpression-Value")
							.description("EXAMPLE-description-Value")
							.displayName("EXAMPLE-displayName-Value")
							.editVersion(213L)
							.facetPriority(479L)
							.name("EXAMPLE-name-Value")
							.isFacetEligible(true)
							.isHighCardinality(false)
							.isLargeData(false)
							.isMultiValued(true)
							.isPrimary(true)
							.isSystem(true)
							.isSummarizable(true)
							.mappedValue("EXAMPLE-mappedValue-Value")
							.isMetricKeyEligible(true)
							.isMetricValueEligible(false)
							.rangeFacetEligible(612L)
							.isTableEligible(true)
							.unitType("EXAMPLE-unitType-Value").build())
						.extendedFieldDefinitionId(412L)
						.fieldName("EXAMPLE-fieldName-Value")
						.fieldDisplayName("EXAMPLE-fieldDisplayName-Value")
						.savedRegularExpressionName("EXAMPLE-savedRegularExpressionName-Value")
						.extendedFieldId(501L).build())))
				.baseFieldName("EXAMPLE-baseFieldName-Value")
				.baseFieldLogText("EXAMPLE-baseFieldLogText-Value")
				.conditionDataType("EXAMPLE-conditionDataType-Value")
				.conditionField("EXAMPLE-conditionField-Value")
				.conditionOperator("EXAMPLE-conditionOperator-Value")
				.conditionValue("EXAMPLE-conditionValue-Value")
				.convertedRegularExpression("EXAMPLE-convertedRegularExpression-Value")
				.isEnabled(false)
				.extendedFieldDefinitionId(749L)
				.isSystem(true)
				.regularExpression("EXAMPLE-regularExpression-Value")
				.sourceId(224L)
				.timeUpdated(new Date("Tue Nov 07 03:51:14 UTC 2028")).build())))
		.isForCloud(true)
		.labels(new ArrayList<>(Arrays.asList(LogAnalyticsLabelView.builder()
				.aliases(new ArrayList<>(Arrays.asList(LogAnalyticsLabelAlias.builder()
						.alias("EXAMPLE-alias-Value")
						.aliasDisplayName("EXAMPLE-aliasDisplayName-Value")
						.isSystem(false)
						.displayName("EXAMPLE-displayName-Value")
						.name("EXAMPLE-name-Value")
						.priority(LogAnalyticsLabelAlias.Priority.High).build())))
				.countUsageInAlertRule(453L)
				.countUsageInSource(127L)
				.id("EXAMPLE-id-Value")
				.suggestType(302L)
				.description("EXAMPLE-description-Value")
				.displayName("EXAMPLE-displayName-Value")
				.editVersion(284L)
				.impact("EXAMPLE-impact-Value")
				.isSystem(true)
				.name("EXAMPLE-name-Value")
				.priority(LogAnalyticsLabelView.Priority.Low)
				.recommendation("EXAMPLE-recommendation-Value")
				.type(491L)
				.isUserDeleted(true).build())))
		.metricDefinitions(new ArrayList<>(Arrays.asList(LogAnalyticsMetric.builder()
				.aggregationField("EXAMPLE-aggregationField-Value")
				.bucketMetadata("EXAMPLE-bucketMetadata-Value")
				.clockPeriod("EXAMPLE-clockPeriod-Value")
				.description("EXAMPLE-description-Value")
				.editVersion(26L)
				.fieldName("EXAMPLE-fieldName-Value")
				.fieldValues(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
				.groupingField("EXAMPLE-groupingField-Value")
				.isEnabled(true)
				.isSystem(false)
				.displayName("EXAMPLE-displayName-Value")
				.metricReference(807L)
				.name("EXAMPLE-name-Value")
				.metricType(LogAnalyticsMetric.MetricType.Average)
				.isMetricSourceEnabled(true)
				.operator(LogAnalyticsMetric.Operator.NotNull)
				.entityType("EXAMPLE-entityType-Value")
				.timeUpdated(new Date("Fri Jul 29 04:18:55 UTC 2039"))
				.unitType("EXAMPLE-unitType-Value")
				.isUserCustomized(true).build())))
		.metrics(new ArrayList<>(Arrays.asList(LogAnalyticsSourceMetric.builder()
				.isMetricSourceEnabled(true)
				.metricName("EXAMPLE-metricName-Value")
				.sourceName("EXAMPLE-sourceName-Value")
				.entityType("EXAMPLE-entityType-Value").build())))
		.oobParsers(new ArrayList<>(Arrays.asList(LogAnalyticsParser.builder()
				.content("EXAMPLE-content-Value")
				.description("EXAMPLE-description-Value")
				.displayName("EXAMPLE-displayName-Value")
				.editVersion(565L)
				.encoding("EXAMPLE-encoding-Value")
				.exampleContent("EXAMPLE-exampleContent-Value")
				.fieldMaps(new ArrayList<>(Arrays.asList(LogAnalyticsParserField.builder()
						.field(LogAnalyticsField.builder()
							.ceeAlias("EXAMPLE-ceeAlias-Value")
							.dataType("EXAMPLE-dataType-Value")
							.regularExpression("EXAMPLE-regularExpression-Value")
							.description("EXAMPLE-description-Value")
							.displayName("EXAMPLE-displayName-Value")
							.editVersion(927L)
							.facetPriority(420L)
							.name("EXAMPLE-name-Value")
							.isFacetEligible(true)
							.isHighCardinality(false)
							.isLargeData(true)
							.isMultiValued(true)
							.isPrimary(true)
							.isSystem(true)
							.isSummarizable(true)
							.mappedValue("EXAMPLE-mappedValue-Value")
							.isMetricKeyEligible(false)
							.isMetricValueEligible(false)
							.rangeFacetEligible(134L)
							.isTableEligible(false)
							.unitType("EXAMPLE-unitType-Value").build())
						.parserFieldId(991L)
						.parserFieldExpression("EXAMPLE-parserFieldExpression-Value")
						.parserFieldName("EXAMPLE-parserFieldName-Value")
						.storageFieldName("EXAMPLE-storageFieldName-Value")
						.parserFieldIntegratorName("EXAMPLE-parserFieldIntegratorName-Value")
						.parserName("EXAMPLE-parserName-Value")
						.parserFieldSequence(925L)
						.structuredColumnInfo("EXAMPLE-structuredColumnInfo-Value").build())))
				.footerContent("EXAMPLE-footerContent-Value")
				.headerContent("EXAMPLE-headerContent-Value")
				.name("EXAMPLE-name-Value")
				.isDefault(false)
				.isSingleLineContent(false)
				.isSystem(true)
				.language("EXAMPLE-language-Value")
				.timeUpdated(new Date("Tue Jul 19 06:06:55 UTC 2016"))
				.logTypeTestRequestVersion(247)
				.parserIgnorelineCharacters("EXAMPLE-parserIgnorelineCharacters-Value")
				.isHidden(true)
				.parserSequence(142)
				.parserTimezone("EXAMPLE-parserTimezone-Value")
				.parserFilter(LogAnalyticsParserFilter.builder()
					.id("ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value")
					.agentVersion("EXAMPLE-agentVersion-Value")
					.isInUse(231L)
					.operatingSystem("EXAMPLE-operatingSystem-Value")
					.parserId(432L)
					.version("EXAMPLE-version-Value").build())
				.isParserWrittenOnce(true)
				.parserFunctions(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunction.builder()
						.parserMetaPlugin(LogAnalyticsParserMetaPlugin.builder()
							.metaPluginParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserMetaPluginParameter.builder()
									.description("EXAMPLE-description-Value")
									.name("EXAMPLE-name-Value")
									.isMandatory(false)
									.isRepeatable(false)
									.pluginName("EXAMPLE-pluginName-Value")
									.type("EXAMPLE-type-Value").build())))
							.description("EXAMPLE-description-Value")
							.displayName("EXAMPLE-displayName-Value")
							.name("EXAMPLE-name-Value").build())
						.parserFunctionId(250L)
						.parserFunctionName("EXAMPLE-parserFunctionName-Value")
						.isEnabled(true)
						.isSystem(true)
						.parserId(934L)
						.parserName("EXAMPLE-parserName-Value")
						.parserMetaPluginName("EXAMPLE-parserMetaPluginName-Value")
						.parserFunctionPriority(813L)
						.parserFunctionParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunctionParameter.builder()
								.parserFunctionId(87L)
								.parserFunctionParameterName("EXAMPLE-parserFunctionParameterName-Value")
								.parserFunctionParameterId(618L)
								.parserMetaPluginParameterName("EXAMPLE-parserMetaPluginParameterName-Value")
								.parserMetaPluginParameterValue("EXAMPLE-parserMetaPluginParameterValue-Value")
								.parserName("EXAMPLE-parserName-Value")
								.parserMetaPluginParameter(LogAnalyticsParserMetaPluginParameter.builder()
									.description("EXAMPLE-description-Value")
									.name("EXAMPLE-name-Value")
									.isMandatory(false)
									.isRepeatable(false)
									.pluginName("EXAMPLE-pluginName-Value")
									.type("EXAMPLE-type-Value").build()).build()))).build())))
				.sourcesCount(441L)
				.shouldTokenizeOriginalText(true)
				.fieldDelimiter("EXAMPLE-fieldDelimiter-Value")
				.fieldQualifier("EXAMPLE-fieldQualifier-Value")
				.type(LogAnalyticsParser.Type.Regex)
				.isUserDeleted(false)
				.isNamespaceAware(false).build())))
		.parameters(new ArrayList<>(Arrays.asList(LogAnalyticsParameter.builder()
				.defaultValue("EXAMPLE-defaultValue-Value")
				.description("EXAMPLE-description-Value")
				.isActive(true)
				.name("EXAMPLE-name-Value")
				.sourceId(448L).build())))
		.patternCount(456)
		.patterns(new ArrayList<>(Arrays.asList(LogAnalyticsSourcePattern.builder()
				.convertedText("EXAMPLE-convertedText-Value")
				.dbParserId(94L)
				.dbPatternDateTimeColumns("EXAMPLE-dbPatternDateTimeColumns-Value")
				.dbPatternDateTimeField("EXAMPLE-dbPatternDateTimeField-Value")
				.dbPatternSequenceColumn("EXAMPLE-dbPatternSequenceColumn-Value")
				.fields(new ArrayList<>(Arrays.asList(LogAnalyticsParserField.builder()
						.field(LogAnalyticsField.builder()
							.ceeAlias("EXAMPLE-ceeAlias-Value")
							.dataType("EXAMPLE-dataType-Value")
							.regularExpression("EXAMPLE-regularExpression-Value")
							.description("EXAMPLE-description-Value")
							.displayName("EXAMPLE-displayName-Value")
							.editVersion(65L)
							.facetPriority(477L)
							.name("EXAMPLE-name-Value")
							.isFacetEligible(false)
							.isHighCardinality(false)
							.isLargeData(true)
							.isMultiValued(true)
							.isPrimary(false)
							.isSystem(true)
							.isSummarizable(true)
							.mappedValue("EXAMPLE-mappedValue-Value")
							.isMetricKeyEligible(true)
							.isMetricValueEligible(true)
							.rangeFacetEligible(935L)
							.isTableEligible(false)
							.unitType("EXAMPLE-unitType-Value").build())
						.parserFieldId(821L)
						.parserFieldExpression("EXAMPLE-parserFieldExpression-Value")
						.parserFieldName("EXAMPLE-parserFieldName-Value")
						.storageFieldName("EXAMPLE-storageFieldName-Value")
						.parserFieldIntegratorName("EXAMPLE-parserFieldIntegratorName-Value")
						.parserName("EXAMPLE-parserName-Value")
						.parserFieldSequence(465L)
						.parser(LogAnalyticsParser.builder()
							.content("EXAMPLE-content-Value")
							.description("EXAMPLE-description-Value")
							.displayName("EXAMPLE-displayName-Value")
							.editVersion(299L)
							.encoding("EXAMPLE-encoding-Value")
							.exampleContent("EXAMPLE-exampleContent-Value")
							.footerContent("EXAMPLE-footerContent-Value")
							.headerContent("EXAMPLE-headerContent-Value")
							.name("EXAMPLE-name-Value")
							.isDefault(false)
							.isSingleLineContent(false)
							.isSystem(true)
							.language("EXAMPLE-language-Value")
							.timeUpdated(new Date("Tue Feb 13 03:30:01 UTC 2046"))
							.logTypeTestRequestVersion(879)
							.parserIgnorelineCharacters("EXAMPLE-parserIgnorelineCharacters-Value")
							.isHidden(true)
							.parserSequence(915)
							.parserTimezone("EXAMPLE-parserTimezone-Value")
							.parserFilter(LogAnalyticsParserFilter.builder()
								.id("ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value")
								.agentVersion("EXAMPLE-agentVersion-Value")
								.isInUse(894L)
								.operatingSystem("EXAMPLE-operatingSystem-Value")
								.parserId(139L)
								.version("EXAMPLE-version-Value").build())
							.isParserWrittenOnce(true)
							.parserFunctions(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunction.builder()
									.parserMetaPlugin(LogAnalyticsParserMetaPlugin.builder()
										.metaPluginParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserMetaPluginParameter.builder()
												.description("EXAMPLE-description-Value")
												.name("EXAMPLE-name-Value")
												.isMandatory(false)
												.isRepeatable(true)
												.pluginName("EXAMPLE-pluginName-Value")
												.type("EXAMPLE-type-Value").build())))
										.description("EXAMPLE-description-Value")
										.displayName("EXAMPLE-displayName-Value")
										.name("EXAMPLE-name-Value").build())
									.parserFunctionId(91L)
									.parserFunctionName("EXAMPLE-parserFunctionName-Value")
									.isEnabled(true)
									.isSystem(false)
									.parserId(852L)
									.parserName("EXAMPLE-parserName-Value")
									.parserMetaPluginName("EXAMPLE-parserMetaPluginName-Value")
									.parserFunctionPriority(845L)
									.parserFunctionParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunctionParameter.builder()
											.parserFunctionId(789L)
											.parserFunctionParameterName("EXAMPLE-parserFunctionParameterName-Value")
											.parserFunctionParameterId(446L)
											.parserMetaPluginParameterName("EXAMPLE-parserMetaPluginParameterName-Value")
											.parserMetaPluginParameterValue("EXAMPLE-parserMetaPluginParameterValue-Value")
											.parserName("EXAMPLE-parserName-Value")
											.parserMetaPluginParameter(LogAnalyticsParserMetaPluginParameter.builder()
												.description("EXAMPLE-description-Value")
												.name("EXAMPLE-name-Value")
												.isMandatory(false)
												.isRepeatable(true)
												.pluginName("EXAMPLE-pluginName-Value")
												.type("EXAMPLE-type-Value").build()).build()))).build())))
							.sourcesCount(253L)
							.shouldTokenizeOriginalText(true)
							.fieldDelimiter("EXAMPLE-fieldDelimiter-Value")
							.fieldQualifier("EXAMPLE-fieldQualifier-Value")
							.type(LogAnalyticsParser.Type.Regex)
							.isUserDeleted(true)
							.isNamespaceAware(false).build())
						.structuredColumnInfo("EXAMPLE-structuredColumnInfo-Value").build())))
				.isInclude(false)
				.isDefault(false)
				.patternFilter(LogAnalyticsPatternFilter.builder()
					.agentVersion("EXAMPLE-agentVersion-Value")
					.isInUse(false)
					.operatingSystem("EXAMPLE-operatingSystem-Value")
					.patternId(556L)
					.sourceId(146L)
					.version("EXAMPLE-version-Value").build())
				.alias("EXAMPLE-alias-Value")
				.description("EXAMPLE-description-Value")
				.isEnabled(true)
				.patternId(621L)
				.isSystem(false)
				.sourceId(910L)
				.isAgentWarningSuppressed(true)
				.patternText("EXAMPLE-patternText-Value")
				.patternType(23L)
				.entityType(new ArrayList<>(Arrays.asList("EXAMPLE--Value"))).build())))
		.description("EXAMPLE-description-Value")
		.displayName("EXAMPLE-displayName-Value")
		.editVersion(570L)
		.functions(new ArrayList<>(Arrays.asList(LogAnalyticsSourceFunction.builder()
				.arguments(new ArrayList<>(Arrays.asList(LogAnalyticsMetaFunctionArgument.builder()
						.isOverrideOutputFields(true)
						.argumentDisplayName("EXAMPLE-argumentDisplayName-Value")
						.argumentExample("EXAMPLE-argumentExample-Value")
						.argumentService("EXAMPLE-argumentService-Value")
						.argumentDataType("EXAMPLE-argumentDataType-Value")
						.argumentDescription("EXAMPLE-argumentDescription-Value")
						.argumentName("EXAMPLE-argumentName-Value")
						.argumentOrder(515L)
						.argumentType(304L)
						.argumentId(399L)
						.argumentLookupColumn("EXAMPLE-argumentLookupColumn-Value")
						.argumentLookupColumnPosition(122L)
						.argumentValue("EXAMPLE-argumentValue-Value")
						.argumentReference("EXAMPLE-argumentReference-Value").build())))
				.isEnabled(true)
				.function(LogAnalyticsMetaFunction.builder()
					.metaFunctionArgument(new ArrayList<>(Arrays.asList(LogAnalyticsMetaFunctionArgument.builder()
							.isOverrideOutputFields(true)
							.argumentDisplayName("EXAMPLE-argumentDisplayName-Value")
							.argumentExample("EXAMPLE-argumentExample-Value")
							.argumentService("EXAMPLE-argumentService-Value")
							.argumentDataType("EXAMPLE-argumentDataType-Value")
							.argumentDescription("EXAMPLE-argumentDescription-Value")
							.argumentName("EXAMPLE-argumentName-Value")
							.argumentOrder(443L)
							.argumentType(109L)
							.argumentId(35L)
							.argumentLookupColumn("EXAMPLE-argumentLookupColumn-Value")
							.argumentLookupColumnPosition(922L)
							.argumentValue("EXAMPLE-argumentValue-Value")
							.argumentReference("EXAMPLE-argumentReference-Value").build())))
					.component("EXAMPLE-component-Value")
					.description("EXAMPLE-description-Value")
					.editVersion(86L)
					.metaFunctionId(754L)
					.javaClassName("EXAMPLE-javaClassName-Value")
					.name("EXAMPLE-name-Value").build())
				.functionName(LogAnalyticsSourceFunction.FunctionName.Lookup)
				.functionReference("EXAMPLE-functionReference-Value")
				.sourceReference("EXAMPLE-sourceReference-Value")
				.features(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
				.functionId(898L)
				.order(321L)
				.isSystem(true)
				.lookupColumn("EXAMPLE-lookupColumn-Value")
				.lookupColumnPosition(583L)
				.lookupDisplayName("EXAMPLE-lookupDisplayName-Value")
				.lookupMode(401L)
				.lookupTable("EXAMPLE-lookupTable-Value")
				.sourceId(80L).build())))
		.sourceId(849L)
		.name("EXAMPLE-name-Value")
		.isSecureContent(false)
		.isSystem(true)
		.parsers(new ArrayList<>(Arrays.asList(LogAnalyticsParser.builder()
				.content("EXAMPLE-content-Value")
				.description("EXAMPLE-description-Value")
				.displayName("EXAMPLE-displayName-Value")
				.editVersion(935L)
				.encoding("EXAMPLE-encoding-Value")
				.exampleContent("EXAMPLE-exampleContent-Value")
				.fieldMaps(new ArrayList<>(Arrays.asList(LogAnalyticsParserField.builder()
						.field(LogAnalyticsField.builder()
							.ceeAlias("EXAMPLE-ceeAlias-Value")
							.dataType("EXAMPLE-dataType-Value")
							.regularExpression("EXAMPLE-regularExpression-Value")
							.description("EXAMPLE-description-Value")
							.displayName("EXAMPLE-displayName-Value")
							.editVersion(296L)
							.facetPriority(552L)
							.name("EXAMPLE-name-Value")
							.isFacetEligible(false)
							.isHighCardinality(true)
							.isLargeData(false)
							.isMultiValued(false)
							.isPrimary(true)
							.isSystem(true)
							.isSummarizable(false)
							.mappedValue("EXAMPLE-mappedValue-Value")
							.isMetricKeyEligible(false)
							.isMetricValueEligible(false)
							.rangeFacetEligible(428L)
							.isTableEligible(true)
							.unitType("EXAMPLE-unitType-Value").build())
						.parserFieldId(659L)
						.parserFieldExpression("EXAMPLE-parserFieldExpression-Value")
						.parserFieldName("EXAMPLE-parserFieldName-Value")
						.storageFieldName("EXAMPLE-storageFieldName-Value")
						.parserFieldIntegratorName("EXAMPLE-parserFieldIntegratorName-Value")
						.parserName("EXAMPLE-parserName-Value")
						.parserFieldSequence(57L)
						.structuredColumnInfo("EXAMPLE-structuredColumnInfo-Value").build())))
				.footerContent("EXAMPLE-footerContent-Value")
				.headerContent("EXAMPLE-headerContent-Value")
				.name("EXAMPLE-name-Value")
				.isDefault(false)
				.isSingleLineContent(false)
				.isSystem(false)
				.language("EXAMPLE-language-Value")
				.timeUpdated(new Date("Thu Jul 31 06:53:24 UTC 2014"))
				.logTypeTestRequestVersion(809)
				.parserIgnorelineCharacters("EXAMPLE-parserIgnorelineCharacters-Value")
				.isHidden(false)
				.parserSequence(38)
				.parserTimezone("EXAMPLE-parserTimezone-Value")
				.parserFilter(LogAnalyticsParserFilter.builder()
					.id("ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value")
					.agentVersion("EXAMPLE-agentVersion-Value")
					.isInUse(525L)
					.operatingSystem("EXAMPLE-operatingSystem-Value")
					.parserId(69L)
					.version("EXAMPLE-version-Value").build())
				.isParserWrittenOnce(false)
				.parserFunctions(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunction.builder()
						.parserMetaPlugin(LogAnalyticsParserMetaPlugin.builder()
							.metaPluginParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserMetaPluginParameter.builder()
									.description("EXAMPLE-description-Value")
									.name("EXAMPLE-name-Value")
									.isMandatory(true)
									.isRepeatable(true)
									.pluginName("EXAMPLE-pluginName-Value")
									.type("EXAMPLE-type-Value").build())))
							.description("EXAMPLE-description-Value")
							.displayName("EXAMPLE-displayName-Value")
							.name("EXAMPLE-name-Value").build())
						.parserFunctionId(807L)
						.parserFunctionName("EXAMPLE-parserFunctionName-Value")
						.isEnabled(false)
						.isSystem(false)
						.parserId(847L)
						.parserName("EXAMPLE-parserName-Value")
						.parserMetaPluginName("EXAMPLE-parserMetaPluginName-Value")
						.parserFunctionPriority(998L)
						.parserFunctionParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunctionParameter.builder()
								.parserFunctionId(771L)
								.parserFunctionParameterName("EXAMPLE-parserFunctionParameterName-Value")
								.parserFunctionParameterId(569L)
								.parserMetaPluginParameterName("EXAMPLE-parserMetaPluginParameterName-Value")
								.parserMetaPluginParameterValue("EXAMPLE-parserMetaPluginParameterValue-Value")
								.parserName("EXAMPLE-parserName-Value")
								.parserMetaPluginParameter(LogAnalyticsParserMetaPluginParameter.builder()
									.description("EXAMPLE-description-Value")
									.name("EXAMPLE-name-Value")
									.isMandatory(false)
									.isRepeatable(true)
									.pluginName("EXAMPLE-pluginName-Value")
									.type("EXAMPLE-type-Value").build()).build()))).build())))
				.sourcesCount(225L)
				.shouldTokenizeOriginalText(true)
				.fieldDelimiter("EXAMPLE-fieldDelimiter-Value")
				.fieldQualifier("EXAMPLE-fieldQualifier-Value")
				.type(LogAnalyticsParser.Type.Odl)
				.isUserDeleted(true)
				.isNamespaceAware(false).build())))
		.isAutoAssociationEnabled(true)
		.isAutoAssociationOverride(true)
		.ruleId(851L)
		.typeName("EXAMPLE-typeName-Value")
		.typeDisplayName("EXAMPLE-typeDisplayName-Value")
		.warningConfig(489L)
		.metadataFields(new ArrayList<>(Arrays.asList(LogAnalyticsSourceMetadataField.builder()
				.fieldName("EXAMPLE-fieldName-Value")
				.isEnabled(true)
				.isSystem(true)
				.key("EXAMPLE-key-Value")
				.sourceName("EXAMPLE-sourceName-Value").build())))
		.labelDefinitions(new ArrayList<>(Arrays.asList(LogAnalyticsLabelDefinition.builder()
				.editVersion(162L)
				.isSystem(true)
				.sourceId(458L)
				.labelName("EXAMPLE-labelName-Value").build())))
		.entityTypes(new ArrayList<>(Arrays.asList(LogAnalyticsSourceEntityType.builder()
				.sourceId(683L)
				.entityType("EXAMPLE-entityType-Value")
				.entityTypeCategory("EXAMPLE-entityTypeCategory-Value")
				.entityTypeDisplayName("EXAMPLE-entityTypeDisplayName-Value").build())))
		.isTimezoneOverride(false)
		.userParsers(new ArrayList<>(Arrays.asList(LogAnalyticsParser.builder()
				.content("EXAMPLE-content-Value")
				.description("EXAMPLE-description-Value")
				.displayName("EXAMPLE-displayName-Value")
				.editVersion(282L)
				.encoding("EXAMPLE-encoding-Value")
				.exampleContent("EXAMPLE-exampleContent-Value")
				.fieldMaps(new ArrayList<>(Arrays.asList(LogAnalyticsParserField.builder()
						.field(LogAnalyticsField.builder()
							.ceeAlias("EXAMPLE-ceeAlias-Value")
							.dataType("EXAMPLE-dataType-Value")
							.regularExpression("EXAMPLE-regularExpression-Value")
							.description("EXAMPLE-description-Value")
							.displayName("EXAMPLE-displayName-Value")
							.editVersion(551L)
							.facetPriority(145L)
							.name("EXAMPLE-name-Value")
							.isFacetEligible(false)
							.isHighCardinality(false)
							.isLargeData(false)
							.isMultiValued(true)
							.isPrimary(true)
							.isSystem(true)
							.isSummarizable(true)
							.mappedValue("EXAMPLE-mappedValue-Value")
							.isMetricKeyEligible(false)
							.isMetricValueEligible(false)
							.rangeFacetEligible(499L)
							.isTableEligible(false)
							.unitType("EXAMPLE-unitType-Value").build())
						.parserFieldId(463L)
						.parserFieldExpression("EXAMPLE-parserFieldExpression-Value")
						.parserFieldName("EXAMPLE-parserFieldName-Value")
						.storageFieldName("EXAMPLE-storageFieldName-Value")
						.parserFieldIntegratorName("EXAMPLE-parserFieldIntegratorName-Value")
						.parserName("EXAMPLE-parserName-Value")
						.parserFieldSequence(918L)
						.structuredColumnInfo("EXAMPLE-structuredColumnInfo-Value").build())))
				.footerContent("EXAMPLE-footerContent-Value")
				.headerContent("EXAMPLE-headerContent-Value")
				.name("EXAMPLE-name-Value")
				.isDefault(false)
				.isSingleLineContent(true)
				.isSystem(true)
				.language("EXAMPLE-language-Value")
				.timeUpdated(new Date("Fri Apr 30 20:09:11 UTC 2027"))
				.logTypeTestRequestVersion(283)
				.parserIgnorelineCharacters("EXAMPLE-parserIgnorelineCharacters-Value")
				.isHidden(false)
				.parserSequence(279)
				.parserTimezone("EXAMPLE-parserTimezone-Value")
				.parserFilter(LogAnalyticsParserFilter.builder()
					.id("ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value")
					.agentVersion("EXAMPLE-agentVersion-Value")
					.isInUse(137L)
					.operatingSystem("EXAMPLE-operatingSystem-Value")
					.parserId(994L)
					.version("EXAMPLE-version-Value").build())
				.isParserWrittenOnce(false)
				.parserFunctions(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunction.builder()
						.parserMetaPlugin(LogAnalyticsParserMetaPlugin.builder()
							.metaPluginParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserMetaPluginParameter.builder()
									.description("EXAMPLE-description-Value")
									.name("EXAMPLE-name-Value")
									.isMandatory(false)
									.isRepeatable(false)
									.pluginName("EXAMPLE-pluginName-Value")
									.type("EXAMPLE-type-Value").build())))
							.description("EXAMPLE-description-Value")
							.displayName("EXAMPLE-displayName-Value")
							.name("EXAMPLE-name-Value").build())
						.parserFunctionId(458L)
						.parserFunctionName("EXAMPLE-parserFunctionName-Value")
						.isEnabled(true)
						.isSystem(true)
						.parserId(421L)
						.parserName("EXAMPLE-parserName-Value")
						.parserMetaPluginName("EXAMPLE-parserMetaPluginName-Value")
						.parserFunctionPriority(708L)
						.parserFunctionParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunctionParameter.builder()
								.parserFunctionId(622L)
								.parserFunctionParameterName("EXAMPLE-parserFunctionParameterName-Value")
								.parserFunctionParameterId(236L)
								.parserMetaPluginParameterName("EXAMPLE-parserMetaPluginParameterName-Value")
								.parserMetaPluginParameterValue("EXAMPLE-parserMetaPluginParameterValue-Value")
								.parserName("EXAMPLE-parserName-Value")
								.parserMetaPluginParameter(LogAnalyticsParserMetaPluginParameter.builder()
									.description("EXAMPLE-description-Value")
									.name("EXAMPLE-name-Value")
									.isMandatory(true)
									.isRepeatable(true)
									.pluginName("EXAMPLE-pluginName-Value")
									.type("EXAMPLE-type-Value").build()).build()))).build())))
				.sourcesCount(135L)
				.shouldTokenizeOriginalText(true)
				.fieldDelimiter("EXAMPLE-fieldDelimiter-Value")
				.fieldQualifier("EXAMPLE-fieldQualifier-Value")
				.type(LogAnalyticsParser.Type.Xml)
				.isUserDeleted(false)
				.isNamespaceAware(true).build())))
		.timeUpdated(new Date("Sat Jan 01 17:04:37 UTC 2028"))
		.eventTypes(new ArrayList<>(Arrays.asList(EventType.builder()
				.eventTypeName("EXAMPLE-eventTypeName-Value")
				.specVersion("EXAMPLE-specVersion-Value")
				.isEnabled(true)
				.isSystem(false)
				.timeUpdated(new Date("Wed May 09 13:38:52 UTC 2040")).build()))).build();

	ValidateSourceExtendedFieldDetailsRequest validateSourceExtendedFieldDetailsRequest = ValidateSourceExtendedFieldDetailsRequest.builder()
		.namespaceName("EXAMPLE-namespaceName-Value")
		.logAnalyticsSource(logAnalyticsSource)
		.opcRetryToken("EXAMPLE-opcRetryToken-Value")
		.opcRequestId("G63RGJLGRMLHKDCSYRDZ<unique_ID>").build();

        /* Send request to the Client */
        ValidateSourceExtendedFieldDetailsResponse response = client.validateSourceExtendedFieldDetails(validateSourceExtendedFieldDetailsRequest);
    }

    
}