/** 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(false)
				.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(true)
				.fieldName("EXAMPLE-fieldName-Value")
				.labelConditionId(498L)
				.isSystem(false)
				.labelConditionOperator("EXAMPLE-labelConditionOperator-Value")
				.sourceId(136L)
				.labelDisplayName("EXAMPLE-labelDisplayName-Value")
				.storageField("EXAMPLE-storageField-Value")
				.labelName("EXAMPLE-labelName-Value")
				.isInlineLabelExistingInDatabase(true).build())))
		.associationCount(907)
		.associationEntity(new ArrayList<>(Arrays.asList(LogAnalyticsAssociation.builder()
				.failureMessage("EXAMPLE-failureMessage-Value")
				.agentId("ocid1.test.oc1..<unique_ID>EXAMPLE-agentId-Value")
				.timeLastAttempted(new Date("Wed Aug 13 21:06:03 UTC 2031"))
				.retryCount(41L)
				.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(596L)
				.isEnabled(false)
				.fieldName("EXAMPLE-fieldName-Value")
				.hashType(304)
				.dataFilterId(634L)
				.isSystem(true)
				.matchRegularExpression("EXAMPLE-matchRegularExpression-Value")
				.order(67L)
				.path("EXAMPLE-path-Value")
				.replacementString("EXAMPLE-replacementString-Value")
				.sourceId(281L)
				.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(252L)
					.facetPriority(123L)
					.name("EXAMPLE-name-Value")
					.isFacetEligible(false)
					.isHighCardinality(false)
					.isLargeData(true)
					.isMultiValued(false)
					.isPrimary(false)
					.isSystem(true)
					.isSummarizable(false)
					.mappedValue("EXAMPLE-mappedValue-Value")
					.isMetricKeyEligible(false)
					.isMetricValueEligible(true)
					.rangeFacetEligible(439L)
					.isTableEligible(false)
					.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(953L)
							.facetPriority(878L)
							.name("EXAMPLE-name-Value")
							.isFacetEligible(true)
							.isHighCardinality(false)
							.isLargeData(true)
							.isMultiValued(false)
							.isPrimary(false)
							.isSystem(false)
							.isSummarizable(true)
							.mappedValue("EXAMPLE-mappedValue-Value")
							.isMetricKeyEligible(false)
							.isMetricValueEligible(false)
							.rangeFacetEligible(143L)
							.isTableEligible(true)
							.unitType("EXAMPLE-unitType-Value").build())
						.extendedFieldDefinitionId(880L)
						.fieldName("EXAMPLE-fieldName-Value")
						.fieldDisplayName("EXAMPLE-fieldDisplayName-Value")
						.savedRegularExpressionName("EXAMPLE-savedRegularExpressionName-Value")
						.extendedFieldId(78L).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(true)
				.extendedFieldDefinitionId(386L)
				.isSystem(false)
				.regularExpression("EXAMPLE-regularExpression-Value")
				.sourceId(305L)
				.timeUpdated(new Date("Sun Aug 14 16:02:07 UTC 2016")).build())))
		.isForCloud(false)
		.labels(new ArrayList<>(Arrays.asList(LogAnalyticsLabelView.builder()
				.aliases(new ArrayList<>(Arrays.asList(LogAnalyticsLabelAlias.builder()
						.alias("EXAMPLE-alias-Value")
						.aliasDisplayName("EXAMPLE-aliasDisplayName-Value")
						.isSystem(true)
						.displayName("EXAMPLE-displayName-Value")
						.name("EXAMPLE-name-Value")
						.priority(LogAnalyticsLabelAlias.Priority.Low).build())))
				.countUsageInAlertRule(874L)
				.countUsageInSource(963L)
				.id("EXAMPLE-id-Value")
				.suggestType(850L)
				.description("EXAMPLE-description-Value")
				.displayName("EXAMPLE-displayName-Value")
				.editVersion(27L)
				.impact("EXAMPLE-impact-Value")
				.isSystem(false)
				.name("EXAMPLE-name-Value")
				.priority(LogAnalyticsLabelView.Priority.Medium)
				.recommendation("EXAMPLE-recommendation-Value")
				.type(477L)
				.isUserDeleted(false).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(303L)
				.fieldName("EXAMPLE-fieldName-Value")
				.fieldValues(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
				.groupingField("EXAMPLE-groupingField-Value")
				.isEnabled(false)
				.isSystem(true)
				.displayName("EXAMPLE-displayName-Value")
				.metricReference(585L)
				.name("EXAMPLE-name-Value")
				.metricType(LogAnalyticsMetric.MetricType.SumDistribution)
				.isMetricSourceEnabled(true)
				.operator(LogAnalyticsMetric.Operator.NotNull)
				.entityType("EXAMPLE-entityType-Value")
				.timeUpdated(new Date("Sun Jan 02 08:00:53 UTC 2028"))
				.unitType("EXAMPLE-unitType-Value")
				.isUserCustomized(false).build())))
		.metrics(new ArrayList<>(Arrays.asList(LogAnalyticsSourceMetric.builder()
				.isMetricSourceEnabled(false)
				.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(516L)
				.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(598L)
							.facetPriority(676L)
							.name("EXAMPLE-name-Value")
							.isFacetEligible(false)
							.isHighCardinality(false)
							.isLargeData(true)
							.isMultiValued(false)
							.isPrimary(true)
							.isSystem(false)
							.isSummarizable(true)
							.mappedValue("EXAMPLE-mappedValue-Value")
							.isMetricKeyEligible(false)
							.isMetricValueEligible(false)
							.rangeFacetEligible(750L)
							.isTableEligible(true)
							.unitType("EXAMPLE-unitType-Value").build())
						.parserFieldId(605L)
						.parserFieldExpression("EXAMPLE-parserFieldExpression-Value")
						.parserFieldName("EXAMPLE-parserFieldName-Value")
						.storageFieldName("EXAMPLE-storageFieldName-Value")
						.parserFieldIntegratorName("EXAMPLE-parserFieldIntegratorName-Value")
						.parserName("EXAMPLE-parserName-Value")
						.parserFieldSequence(834L)
						.structuredColumnInfo("EXAMPLE-structuredColumnInfo-Value").build())))
				.footerContent("EXAMPLE-footerContent-Value")
				.headerContent("EXAMPLE-headerContent-Value")
				.name("EXAMPLE-name-Value")
				.isDefault(false)
				.isSingleLineContent(true)
				.isSystem(false)
				.language("EXAMPLE-language-Value")
				.timeUpdated(new Date("Fri Mar 24 01:08:43 UTC 2006"))
				.logTypeTestRequestVersion(614)
				.parserIgnorelineCharacters("EXAMPLE-parserIgnorelineCharacters-Value")
				.isHidden(false)
				.parserSequence(699)
				.parserTimezone("EXAMPLE-parserTimezone-Value")
				.parserFilter(LogAnalyticsParserFilter.builder()
					.id("ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value")
					.agentVersion("EXAMPLE-agentVersion-Value")
					.isInUse(624L)
					.operatingSystem("EXAMPLE-operatingSystem-Value")
					.parserId(214L)
					.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(false)
									.pluginName("EXAMPLE-pluginName-Value")
									.type("EXAMPLE-type-Value").build())))
							.description("EXAMPLE-description-Value")
							.displayName("EXAMPLE-displayName-Value")
							.name("EXAMPLE-name-Value").build())
						.parserFunctionId(862L)
						.parserFunctionName("EXAMPLE-parserFunctionName-Value")
						.isEnabled(true)
						.isSystem(false)
						.parserId(854L)
						.parserName("EXAMPLE-parserName-Value")
						.parserMetaPluginName("EXAMPLE-parserMetaPluginName-Value")
						.parserFunctionPriority(445L)
						.parserFunctionParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunctionParameter.builder()
								.parserFunctionId(534L)
								.parserFunctionParameterName("EXAMPLE-parserFunctionParameterName-Value")
								.parserFunctionParameterId(568L)
								.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(false)
									.pluginName("EXAMPLE-pluginName-Value")
									.type("EXAMPLE-type-Value").build()).build()))).build())))
				.sourcesCount(7L)
				.shouldTokenizeOriginalText(false)
				.fieldDelimiter("EXAMPLE-fieldDelimiter-Value")
				.fieldQualifier("EXAMPLE-fieldQualifier-Value")
				.type(LogAnalyticsParser.Type.Odl)
				.isUserDeleted(true)
				.isNamespaceAware(false)
				.categories(new ArrayList<>(Arrays.asList(LogAnalyticsCategory.builder()
						.name("EXAMPLE-name-Value")
						.description("EXAMPLE-description-Value")
						.displayName("EXAMPLE-displayName-Value")
						.type("EXAMPLE-type-Value")
						.isSystem(false).build()))).build())))
		.parameters(new ArrayList<>(Arrays.asList(LogAnalyticsParameter.builder()
				.defaultValue("EXAMPLE-defaultValue-Value")
				.description("EXAMPLE-description-Value")
				.isActive(false)
				.name("EXAMPLE-name-Value")
				.sourceId(618L).build())))
		.patternCount(548)
		.patterns(new ArrayList<>(Arrays.asList(LogAnalyticsSourcePattern.builder()
				.convertedText("EXAMPLE-convertedText-Value")
				.dbParserId(372L)
				.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(1L)
							.facetPriority(797L)
							.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(543L)
							.isTableEligible(true)
							.unitType("EXAMPLE-unitType-Value").build())
						.parserFieldId(295L)
						.parserFieldExpression("EXAMPLE-parserFieldExpression-Value")
						.parserFieldName("EXAMPLE-parserFieldName-Value")
						.storageFieldName("EXAMPLE-storageFieldName-Value")
						.parserFieldIntegratorName("EXAMPLE-parserFieldIntegratorName-Value")
						.parserName("EXAMPLE-parserName-Value")
						.parserFieldSequence(67L)
						.parser(LogAnalyticsParser.builder()
							.content("EXAMPLE-content-Value")
							.description("EXAMPLE-description-Value")
							.displayName("EXAMPLE-displayName-Value")
							.editVersion(910L)
							.encoding("EXAMPLE-encoding-Value")
							.exampleContent("EXAMPLE-exampleContent-Value")
							.footerContent("EXAMPLE-footerContent-Value")
							.headerContent("EXAMPLE-headerContent-Value")
							.name("EXAMPLE-name-Value")
							.isDefault(true)
							.isSingleLineContent(true)
							.isSystem(true)
							.language("EXAMPLE-language-Value")
							.timeUpdated(new Date("Tue Jan 03 04:06:54 UTC 2045"))
							.logTypeTestRequestVersion(921)
							.parserIgnorelineCharacters("EXAMPLE-parserIgnorelineCharacters-Value")
							.isHidden(false)
							.parserSequence(201)
							.parserTimezone("EXAMPLE-parserTimezone-Value")
							.parserFilter(LogAnalyticsParserFilter.builder()
								.id("ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value")
								.agentVersion("EXAMPLE-agentVersion-Value")
								.isInUse(957L)
								.operatingSystem("EXAMPLE-operatingSystem-Value")
								.parserId(820L)
								.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(true)
												.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(725L)
									.parserFunctionName("EXAMPLE-parserFunctionName-Value")
									.isEnabled(true)
									.isSystem(true)
									.parserId(204L)
									.parserName("EXAMPLE-parserName-Value")
									.parserMetaPluginName("EXAMPLE-parserMetaPluginName-Value")
									.parserFunctionPriority(713L)
									.parserFunctionParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunctionParameter.builder()
											.parserFunctionId(470L)
											.parserFunctionParameterName("EXAMPLE-parserFunctionParameterName-Value")
											.parserFunctionParameterId(101L)
											.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(548L)
							.shouldTokenizeOriginalText(true)
							.fieldDelimiter("EXAMPLE-fieldDelimiter-Value")
							.fieldQualifier("EXAMPLE-fieldQualifier-Value")
							.type(LogAnalyticsParser.Type.Regex)
							.isUserDeleted(false)
							.isNamespaceAware(false)
							.categories(new ArrayList<>(Arrays.asList(LogAnalyticsCategory.builder()
									.name("EXAMPLE-name-Value")
									.description("EXAMPLE-description-Value")
									.displayName("EXAMPLE-displayName-Value")
									.type("EXAMPLE-type-Value")
									.isSystem(true).build()))).build())
						.structuredColumnInfo("EXAMPLE-structuredColumnInfo-Value").build())))
				.isInclude(true)
				.isDefault(true)
				.patternFilter(LogAnalyticsPatternFilter.builder()
					.agentVersion("EXAMPLE-agentVersion-Value")
					.isInUse(true)
					.operatingSystem("EXAMPLE-operatingSystem-Value")
					.patternId(333L)
					.sourceId(321L)
					.version("EXAMPLE-version-Value").build())
				.alias("EXAMPLE-alias-Value")
				.description("EXAMPLE-description-Value")
				.isEnabled(true)
				.patternId(939L)
				.isSystem(false)
				.sourceId(234L)
				.isAgentWarningSuppressed(false)
				.patternText("EXAMPLE-patternText-Value")
				.patternType(533L)
				.entityType(new ArrayList<>(Arrays.asList("EXAMPLE--Value"))).build())))
		.description("EXAMPLE-description-Value")
		.displayName("EXAMPLE-displayName-Value")
		.editVersion(440L)
		.functions(new ArrayList<>(Arrays.asList(LogAnalyticsSourceFunction.builder()
				.arguments(new ArrayList<>(Arrays.asList(LogAnalyticsMetaFunctionArgument.builder()
						.isOverrideOutputFields(false)
						.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(758L)
						.argumentType(468L)
						.argumentId(366L)
						.argumentLookupColumn("EXAMPLE-argumentLookupColumn-Value")
						.argumentLookupColumnPosition(786L)
						.argumentValue("EXAMPLE-argumentValue-Value")
						.argumentReference("EXAMPLE-argumentReference-Value").build())))
				.isEnabled(false)
				.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(78L)
							.argumentType(602L)
							.argumentId(213L)
							.argumentLookupColumn("EXAMPLE-argumentLookupColumn-Value")
							.argumentLookupColumnPosition(272L)
							.argumentValue("EXAMPLE-argumentValue-Value")
							.argumentReference("EXAMPLE-argumentReference-Value").build())))
					.component("EXAMPLE-component-Value")
					.description("EXAMPLE-description-Value")
					.editVersion(607L)
					.metaFunctionId(919L)
					.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(269L)
				.order(326L)
				.isSystem(false)
				.lookupColumn("EXAMPLE-lookupColumn-Value")
				.lookupColumnPosition(544L)
				.lookupDisplayName("EXAMPLE-lookupDisplayName-Value")
				.lookupMode(860L)
				.lookupTable("EXAMPLE-lookupTable-Value")
				.sourceId(455L).build())))
		.sourceId(323L)
		.name("EXAMPLE-name-Value")
		.isSecureContent(false)
		.isSystem(false)
		.parsers(new ArrayList<>(Arrays.asList(LogAnalyticsParser.builder()
				.content("EXAMPLE-content-Value")
				.description("EXAMPLE-description-Value")
				.displayName("EXAMPLE-displayName-Value")
				.editVersion(93L)
				.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(205L)
							.facetPriority(724L)
							.name("EXAMPLE-name-Value")
							.isFacetEligible(false)
							.isHighCardinality(true)
							.isLargeData(true)
							.isMultiValued(false)
							.isPrimary(true)
							.isSystem(false)
							.isSummarizable(true)
							.mappedValue("EXAMPLE-mappedValue-Value")
							.isMetricKeyEligible(true)
							.isMetricValueEligible(false)
							.rangeFacetEligible(949L)
							.isTableEligible(false)
							.unitType("EXAMPLE-unitType-Value").build())
						.parserFieldId(655L)
						.parserFieldExpression("EXAMPLE-parserFieldExpression-Value")
						.parserFieldName("EXAMPLE-parserFieldName-Value")
						.storageFieldName("EXAMPLE-storageFieldName-Value")
						.parserFieldIntegratorName("EXAMPLE-parserFieldIntegratorName-Value")
						.parserName("EXAMPLE-parserName-Value")
						.parserFieldSequence(158L)
						.structuredColumnInfo("EXAMPLE-structuredColumnInfo-Value").build())))
				.footerContent("EXAMPLE-footerContent-Value")
				.headerContent("EXAMPLE-headerContent-Value")
				.name("EXAMPLE-name-Value")
				.isDefault(true)
				.isSingleLineContent(false)
				.isSystem(true)
				.language("EXAMPLE-language-Value")
				.timeUpdated(new Date("Thu Jul 08 15:19:53 UTC 2021"))
				.logTypeTestRequestVersion(118)
				.parserIgnorelineCharacters("EXAMPLE-parserIgnorelineCharacters-Value")
				.isHidden(false)
				.parserSequence(124)
				.parserTimezone("EXAMPLE-parserTimezone-Value")
				.parserFilter(LogAnalyticsParserFilter.builder()
					.id("ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value")
					.agentVersion("EXAMPLE-agentVersion-Value")
					.isInUse(737L)
					.operatingSystem("EXAMPLE-operatingSystem-Value")
					.parserId(823L)
					.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(true)
									.pluginName("EXAMPLE-pluginName-Value")
									.type("EXAMPLE-type-Value").build())))
							.description("EXAMPLE-description-Value")
							.displayName("EXAMPLE-displayName-Value")
							.name("EXAMPLE-name-Value").build())
						.parserFunctionId(732L)
						.parserFunctionName("EXAMPLE-parserFunctionName-Value")
						.isEnabled(false)
						.isSystem(true)
						.parserId(679L)
						.parserName("EXAMPLE-parserName-Value")
						.parserMetaPluginName("EXAMPLE-parserMetaPluginName-Value")
						.parserFunctionPriority(882L)
						.parserFunctionParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunctionParameter.builder()
								.parserFunctionId(653L)
								.parserFunctionParameterName("EXAMPLE-parserFunctionParameterName-Value")
								.parserFunctionParameterId(15L)
								.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(163L)
				.shouldTokenizeOriginalText(true)
				.fieldDelimiter("EXAMPLE-fieldDelimiter-Value")
				.fieldQualifier("EXAMPLE-fieldQualifier-Value")
				.type(LogAnalyticsParser.Type.Delimited)
				.isUserDeleted(false)
				.isNamespaceAware(false)
				.categories(new ArrayList<>(Arrays.asList(LogAnalyticsCategory.builder()
						.name("EXAMPLE-name-Value")
						.description("EXAMPLE-description-Value")
						.displayName("EXAMPLE-displayName-Value")
						.type("EXAMPLE-type-Value")
						.isSystem(false).build()))).build())))
		.isAutoAssociationEnabled(false)
		.isAutoAssociationOverride(false)
		.ruleId(280L)
		.typeName("EXAMPLE-typeName-Value")
		.typeDisplayName("EXAMPLE-typeDisplayName-Value")
		.warningConfig(265L)
		.metadataFields(new ArrayList<>(Arrays.asList(LogAnalyticsSourceMetadataField.builder()
				.fieldName("EXAMPLE-fieldName-Value")
				.isEnabled(false)
				.isSystem(false)
				.key("EXAMPLE-key-Value")
				.sourceName("EXAMPLE-sourceName-Value").build())))
		.labelDefinitions(new ArrayList<>(Arrays.asList(LogAnalyticsLabelDefinition.builder()
				.editVersion(985L)
				.isSystem(false)
				.sourceId(710L)
				.labelName("EXAMPLE-labelName-Value").build())))
		.entityTypes(new ArrayList<>(Arrays.asList(LogAnalyticsSourceEntityType.builder()
				.sourceId(205L)
				.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(974L)
				.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(180L)
							.facetPriority(453L)
							.name("EXAMPLE-name-Value")
							.isFacetEligible(false)
							.isHighCardinality(false)
							.isLargeData(true)
							.isMultiValued(false)
							.isPrimary(true)
							.isSystem(false)
							.isSummarizable(false)
							.mappedValue("EXAMPLE-mappedValue-Value")
							.isMetricKeyEligible(false)
							.isMetricValueEligible(false)
							.rangeFacetEligible(581L)
							.isTableEligible(false)
							.unitType("EXAMPLE-unitType-Value").build())
						.parserFieldId(596L)
						.parserFieldExpression("EXAMPLE-parserFieldExpression-Value")
						.parserFieldName("EXAMPLE-parserFieldName-Value")
						.storageFieldName("EXAMPLE-storageFieldName-Value")
						.parserFieldIntegratorName("EXAMPLE-parserFieldIntegratorName-Value")
						.parserName("EXAMPLE-parserName-Value")
						.parserFieldSequence(433L)
						.structuredColumnInfo("EXAMPLE-structuredColumnInfo-Value").build())))
				.footerContent("EXAMPLE-footerContent-Value")
				.headerContent("EXAMPLE-headerContent-Value")
				.name("EXAMPLE-name-Value")
				.isDefault(true)
				.isSingleLineContent(false)
				.isSystem(true)
				.language("EXAMPLE-language-Value")
				.timeUpdated(new Date("Sun Jan 25 08:36:07 UTC 2032"))
				.logTypeTestRequestVersion(627)
				.parserIgnorelineCharacters("EXAMPLE-parserIgnorelineCharacters-Value")
				.isHidden(false)
				.parserSequence(280)
				.parserTimezone("EXAMPLE-parserTimezone-Value")
				.parserFilter(LogAnalyticsParserFilter.builder()
					.id("ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value")
					.agentVersion("EXAMPLE-agentVersion-Value")
					.isInUse(866L)
					.operatingSystem("EXAMPLE-operatingSystem-Value")
					.parserId(991L)
					.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(119L)
						.parserFunctionName("EXAMPLE-parserFunctionName-Value")
						.isEnabled(false)
						.isSystem(true)
						.parserId(223L)
						.parserName("EXAMPLE-parserName-Value")
						.parserMetaPluginName("EXAMPLE-parserMetaPluginName-Value")
						.parserFunctionPriority(122L)
						.parserFunctionParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunctionParameter.builder()
								.parserFunctionId(300L)
								.parserFunctionParameterName("EXAMPLE-parserFunctionParameterName-Value")
								.parserFunctionParameterId(954L)
								.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(651L)
				.shouldTokenizeOriginalText(true)
				.fieldDelimiter("EXAMPLE-fieldDelimiter-Value")
				.fieldQualifier("EXAMPLE-fieldQualifier-Value")
				.type(LogAnalyticsParser.Type.Xml)
				.isUserDeleted(true)
				.isNamespaceAware(false)
				.categories(new ArrayList<>(Arrays.asList(LogAnalyticsCategory.builder()
						.name("EXAMPLE-name-Value")
						.description("EXAMPLE-description-Value")
						.displayName("EXAMPLE-displayName-Value")
						.type("EXAMPLE-type-Value")
						.isSystem(false).build()))).build())))
		.timeUpdated(new Date("Sat Jan 01 12:23:13 UTC 2039"))
		.eventTypes(new ArrayList<>(Arrays.asList(EventType.builder()
				.eventTypeName("EXAMPLE-eventTypeName-Value")
				.specVersion("EXAMPLE-specVersion-Value")
				.isEnabled(true)
				.isSystem(false)
				.timeUpdated(new Date("Mon Sep 08 04:52:08 UTC 2014")).build())))
		.categories(new ArrayList<>(Arrays.asList(LogAnalyticsCategory.builder()
				.name("EXAMPLE-name-Value")
				.description("EXAMPLE-description-Value")
				.displayName("EXAMPLE-displayName-Value")
				.type("EXAMPLE-type-Value")
				.isSystem(true).build()))).build();

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

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

    
}