/** 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(773L)
				.isSystem(true)
				.labelConditionOperator("EXAMPLE-labelConditionOperator-Value")
				.sourceId(191L)
				.labelDisplayName("EXAMPLE-labelDisplayName-Value")
				.storageField("EXAMPLE-storageField-Value")
				.labelName("EXAMPLE-labelName-Value")
				.isInlineLabelExistingInDatabase(false).build())))
		.associationCount(943)
		.associationEntity(new ArrayList<>(Arrays.asList(LogAnalyticsAssociation.builder()
				.failureMessage("EXAMPLE-failureMessage-Value")
				.agentId("ocid1.test.oc1..<unique_ID>EXAMPLE-agentId-Value")
				.timeLastAttempted(new Date("Mon Nov 30 12:20:41 UTC 2015"))
				.retryCount(406L)
				.sourceName("EXAMPLE-sourceName-Value")
				.sourceDisplayName("EXAMPLE-sourceDisplayName-Value")
				.sourceTypeName("EXAMPLE-sourceTypeName-Value")
				.lifeCycleState(LogAnalyticsAssociation.LifeCycleState.Accepted)
				.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(389L)
				.isEnabled(false)
				.fieldName("EXAMPLE-fieldName-Value")
				.hashType(185)
				.dataFilterId(632L)
				.isSystem(true)
				.matchRegularExpression("EXAMPLE-matchRegularExpression-Value")
				.order(697L)
				.path("EXAMPLE-path-Value")
				.replacementString("EXAMPLE-replacementString-Value")
				.sourceId(155L)
				.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(206L)
					.facetPriority(262L)
					.name("EXAMPLE-name-Value")
					.isFacetEligible(true)
					.isHighCardinality(false)
					.isLargeData(true)
					.isMultiValued(true)
					.isPrimary(true)
					.isSystem(false)
					.isSummarizable(true)
					.mappedValue("EXAMPLE-mappedValue-Value")
					.isMetricKeyEligible(false)
					.isMetricValueEligible(true)
					.rangeFacetEligible(285L)
					.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(964L)
							.facetPriority(215L)
							.name("EXAMPLE-name-Value")
							.isFacetEligible(true)
							.isHighCardinality(true)
							.isLargeData(true)
							.isMultiValued(true)
							.isPrimary(true)
							.isSystem(true)
							.isSummarizable(false)
							.mappedValue("EXAMPLE-mappedValue-Value")
							.isMetricKeyEligible(false)
							.isMetricValueEligible(false)
							.rangeFacetEligible(9L)
							.isTableEligible(false)
							.unitType("EXAMPLE-unitType-Value").build())
						.extendedFieldDefinitionId(19L)
						.fieldName("EXAMPLE-fieldName-Value")
						.fieldDisplayName("EXAMPLE-fieldDisplayName-Value")
						.savedRegularExpressionName("EXAMPLE-savedRegularExpressionName-Value")
						.extendedFieldId(352L).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(515L)
				.isSystem(true)
				.regularExpression("EXAMPLE-regularExpression-Value")
				.sourceId(995L)
				.timeUpdated(new Date("Tue Mar 23 02:37:47 UTC 2021")).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.Low).build())))
				.countUsageInAlertRule(206L)
				.countUsageInSource(675L)
				.id("EXAMPLE-id-Value")
				.suggestType(881L)
				.description("EXAMPLE-description-Value")
				.displayName("EXAMPLE-displayName-Value")
				.editVersion(794L)
				.impact("EXAMPLE-impact-Value")
				.isSystem(true)
				.name("EXAMPLE-name-Value")
				.priority(LogAnalyticsLabelView.Priority.Medium)
				.recommendation("EXAMPLE-recommendation-Value")
				.type(512L)
				.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(253L)
				.fieldName("EXAMPLE-fieldName-Value")
				.fieldValues(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
				.groupingField("EXAMPLE-groupingField-Value")
				.isEnabled(true)
				.isSystem(false)
				.displayName("EXAMPLE-displayName-Value")
				.metricReference(324L)
				.name("EXAMPLE-name-Value")
				.metricType(LogAnalyticsMetric.MetricType.SumDistribution)
				.isMetricSourceEnabled(true)
				.operator(LogAnalyticsMetric.Operator.ContainsIgnoreCase)
				.entityType("EXAMPLE-entityType-Value")
				.timeUpdated(new Date("Sun Sep 27 03:43:57 UTC 2037"))
				.unitType("EXAMPLE-unitType-Value")
				.isUserCustomized(true).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(526L)
				.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(613L)
							.facetPriority(700L)
							.name("EXAMPLE-name-Value")
							.isFacetEligible(false)
							.isHighCardinality(true)
							.isLargeData(true)
							.isMultiValued(false)
							.isPrimary(true)
							.isSystem(true)
							.isSummarizable(true)
							.mappedValue("EXAMPLE-mappedValue-Value")
							.isMetricKeyEligible(true)
							.isMetricValueEligible(true)
							.rangeFacetEligible(362L)
							.isTableEligible(true)
							.unitType("EXAMPLE-unitType-Value").build())
						.parserFieldId(794L)
						.parserFieldExpression("EXAMPLE-parserFieldExpression-Value")
						.parserFieldName("EXAMPLE-parserFieldName-Value")
						.storageFieldName("EXAMPLE-storageFieldName-Value")
						.parserFieldIntegratorName("EXAMPLE-parserFieldIntegratorName-Value")
						.parserName("EXAMPLE-parserName-Value")
						.parserFieldSequence(823L)
						.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("Wed May 27 06:40:39 UTC 2037"))
				.logTypeTestRequestVersion(810)
				.parserIgnorelineCharacters("EXAMPLE-parserIgnorelineCharacters-Value")
				.isHidden(false)
				.parserSequence(679)
				.parserTimezone("EXAMPLE-parserTimezone-Value")
				.parserFilter(LogAnalyticsParserFilter.builder()
					.id("ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value")
					.agentVersion("EXAMPLE-agentVersion-Value")
					.isInUse(735L)
					.operatingSystem("EXAMPLE-operatingSystem-Value")
					.parserId(877L)
					.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(947L)
						.parserFunctionName("EXAMPLE-parserFunctionName-Value")
						.isEnabled(true)
						.isSystem(true)
						.parserId(85L)
						.parserName("EXAMPLE-parserName-Value")
						.parserMetaPluginName("EXAMPLE-parserMetaPluginName-Value")
						.parserFunctionPriority(839L)
						.parserFunctionParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunctionParameter.builder()
								.parserFunctionId(218L)
								.parserFunctionParameterName("EXAMPLE-parserFunctionParameterName-Value")
								.parserFunctionParameterId(820L)
								.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(821L)
				.shouldTokenizeOriginalText(false)
				.fieldDelimiter("EXAMPLE-fieldDelimiter-Value")
				.fieldQualifier("EXAMPLE-fieldQualifier-Value")
				.type(LogAnalyticsParser.Type.Json)
				.isUserDeleted(false)
				.isNamespaceAware(true)
				.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(true)
				.name("EXAMPLE-name-Value")
				.sourceId(528L).build())))
		.patternCount(108)
		.patterns(new ArrayList<>(Arrays.asList(LogAnalyticsSourcePattern.builder()
				.convertedText("EXAMPLE-convertedText-Value")
				.dbParserId(960L)
				.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(972L)
							.facetPriority(313L)
							.name("EXAMPLE-name-Value")
							.isFacetEligible(true)
							.isHighCardinality(false)
							.isLargeData(true)
							.isMultiValued(false)
							.isPrimary(true)
							.isSystem(false)
							.isSummarizable(false)
							.mappedValue("EXAMPLE-mappedValue-Value")
							.isMetricKeyEligible(false)
							.isMetricValueEligible(true)
							.rangeFacetEligible(212L)
							.isTableEligible(false)
							.unitType("EXAMPLE-unitType-Value").build())
						.parserFieldId(141L)
						.parserFieldExpression("EXAMPLE-parserFieldExpression-Value")
						.parserFieldName("EXAMPLE-parserFieldName-Value")
						.storageFieldName("EXAMPLE-storageFieldName-Value")
						.parserFieldIntegratorName("EXAMPLE-parserFieldIntegratorName-Value")
						.parserName("EXAMPLE-parserName-Value")
						.parserFieldSequence(482L)
						.parser(LogAnalyticsParser.builder()
							.content("EXAMPLE-content-Value")
							.description("EXAMPLE-description-Value")
							.displayName("EXAMPLE-displayName-Value")
							.editVersion(676L)
							.encoding("EXAMPLE-encoding-Value")
							.exampleContent("EXAMPLE-exampleContent-Value")
							.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("Sat Jul 05 10:00:28 UTC 2031"))
							.logTypeTestRequestVersion(757)
							.parserIgnorelineCharacters("EXAMPLE-parserIgnorelineCharacters-Value")
							.isHidden(true)
							.parserSequence(256)
							.parserTimezone("EXAMPLE-parserTimezone-Value")
							.parserFilter(LogAnalyticsParserFilter.builder()
								.id("ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value")
								.agentVersion("EXAMPLE-agentVersion-Value")
								.isInUse(226L)
								.operatingSystem("EXAMPLE-operatingSystem-Value")
								.parserId(8L)
								.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(991L)
									.parserFunctionName("EXAMPLE-parserFunctionName-Value")
									.isEnabled(false)
									.isSystem(true)
									.parserId(402L)
									.parserName("EXAMPLE-parserName-Value")
									.parserMetaPluginName("EXAMPLE-parserMetaPluginName-Value")
									.parserFunctionPriority(365L)
									.parserFunctionParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunctionParameter.builder()
											.parserFunctionId(716L)
											.parserFunctionParameterName("EXAMPLE-parserFunctionParameterName-Value")
											.parserFunctionParameterId(177L)
											.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(403L)
							.shouldTokenizeOriginalText(true)
							.fieldDelimiter("EXAMPLE-fieldDelimiter-Value")
							.fieldQualifier("EXAMPLE-fieldQualifier-Value")
							.type(LogAnalyticsParser.Type.Regex)
							.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())
						.structuredColumnInfo("EXAMPLE-structuredColumnInfo-Value").build())))
				.isInclude(false)
				.isDefault(true)
				.patternFilter(LogAnalyticsPatternFilter.builder()
					.agentVersion("EXAMPLE-agentVersion-Value")
					.isInUse(true)
					.operatingSystem("EXAMPLE-operatingSystem-Value")
					.patternId(36L)
					.sourceId(21L)
					.version("EXAMPLE-version-Value").build())
				.alias("EXAMPLE-alias-Value")
				.description("EXAMPLE-description-Value")
				.isEnabled(false)
				.patternId(483L)
				.isSystem(false)
				.sourceId(54L)
				.isAgentWarningSuppressed(true)
				.patternText("EXAMPLE-patternText-Value")
				.patternType(629L)
				.entityType(new ArrayList<>(Arrays.asList("EXAMPLE--Value"))).build())))
		.description("EXAMPLE-description-Value")
		.displayName("EXAMPLE-displayName-Value")
		.editVersion(511L)
		.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(49L)
						.argumentType(14L)
						.argumentId(803L)
						.argumentLookupColumn("EXAMPLE-argumentLookupColumn-Value")
						.argumentLookupColumnPosition(438L)
						.argumentValue("EXAMPLE-argumentValue-Value")
						.argumentReference("EXAMPLE-argumentReference-Value").build())))
				.isEnabled(false)
				.function(LogAnalyticsMetaFunction.builder()
					.metaFunctionArgument(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(817L)
							.argumentType(25L)
							.argumentId(763L)
							.argumentLookupColumn("EXAMPLE-argumentLookupColumn-Value")
							.argumentLookupColumnPosition(322L)
							.argumentValue("EXAMPLE-argumentValue-Value")
							.argumentReference("EXAMPLE-argumentReference-Value").build())))
					.component("EXAMPLE-component-Value")
					.description("EXAMPLE-description-Value")
					.editVersion(240L)
					.metaFunctionId(725L)
					.javaClassName("EXAMPLE-javaClassName-Value")
					.name("EXAMPLE-name-Value").build())
				.functionName(LogAnalyticsSourceFunction.FunctionName.Geolocation)
				.functionReference("EXAMPLE-functionReference-Value")
				.sourceReference("EXAMPLE-sourceReference-Value")
				.features(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
				.functionId(167L)
				.order(317L)
				.isSystem(true)
				.lookupColumn("EXAMPLE-lookupColumn-Value")
				.lookupColumnPosition(975L)
				.lookupDisplayName("EXAMPLE-lookupDisplayName-Value")
				.lookupMode(432L)
				.lookupTable("EXAMPLE-lookupTable-Value")
				.sourceId(581L).build())))
		.sourceId(647L)
		.name("EXAMPLE-name-Value")
		.isSecureContent(true)
		.isSystem(false)
		.parsers(new ArrayList<>(Arrays.asList(LogAnalyticsParser.builder()
				.content("EXAMPLE-content-Value")
				.description("EXAMPLE-description-Value")
				.displayName("EXAMPLE-displayName-Value")
				.editVersion(265L)
				.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(837L)
							.facetPriority(806L)
							.name("EXAMPLE-name-Value")
							.isFacetEligible(false)
							.isHighCardinality(true)
							.isLargeData(true)
							.isMultiValued(true)
							.isPrimary(false)
							.isSystem(true)
							.isSummarizable(false)
							.mappedValue("EXAMPLE-mappedValue-Value")
							.isMetricKeyEligible(true)
							.isMetricValueEligible(false)
							.rangeFacetEligible(921L)
							.isTableEligible(false)
							.unitType("EXAMPLE-unitType-Value").build())
						.parserFieldId(85L)
						.parserFieldExpression("EXAMPLE-parserFieldExpression-Value")
						.parserFieldName("EXAMPLE-parserFieldName-Value")
						.storageFieldName("EXAMPLE-storageFieldName-Value")
						.parserFieldIntegratorName("EXAMPLE-parserFieldIntegratorName-Value")
						.parserName("EXAMPLE-parserName-Value")
						.parserFieldSequence(98L)
						.structuredColumnInfo("EXAMPLE-structuredColumnInfo-Value").build())))
				.footerContent("EXAMPLE-footerContent-Value")
				.headerContent("EXAMPLE-headerContent-Value")
				.name("EXAMPLE-name-Value")
				.isDefault(true)
				.isSingleLineContent(true)
				.isSystem(false)
				.language("EXAMPLE-language-Value")
				.timeUpdated(new Date("Thu Mar 29 22:23:13 UTC 2040"))
				.logTypeTestRequestVersion(121)
				.parserIgnorelineCharacters("EXAMPLE-parserIgnorelineCharacters-Value")
				.isHidden(true)
				.parserSequence(485)
				.parserTimezone("EXAMPLE-parserTimezone-Value")
				.parserFilter(LogAnalyticsParserFilter.builder()
					.id("ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value")
					.agentVersion("EXAMPLE-agentVersion-Value")
					.isInUse(972L)
					.operatingSystem("EXAMPLE-operatingSystem-Value")
					.parserId(749L)
					.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(155L)
						.parserFunctionName("EXAMPLE-parserFunctionName-Value")
						.isEnabled(false)
						.isSystem(false)
						.parserId(545L)
						.parserName("EXAMPLE-parserName-Value")
						.parserMetaPluginName("EXAMPLE-parserMetaPluginName-Value")
						.parserFunctionPriority(785L)
						.parserFunctionParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunctionParameter.builder()
								.parserFunctionId(675L)
								.parserFunctionParameterName("EXAMPLE-parserFunctionParameterName-Value")
								.parserFunctionParameterId(251L)
								.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(921L)
				.shouldTokenizeOriginalText(false)
				.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(true).build()))).build())))
		.isAutoAssociationEnabled(true)
		.isAutoAssociationOverride(false)
		.ruleId(884L)
		.typeName("EXAMPLE-typeName-Value")
		.typeDisplayName("EXAMPLE-typeDisplayName-Value")
		.warningConfig(905L)
		.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(268L)
				.isSystem(true)
				.sourceId(12L)
				.labelName("EXAMPLE-labelName-Value").build())))
		.entityTypes(new ArrayList<>(Arrays.asList(LogAnalyticsSourceEntityType.builder()
				.sourceId(420L)
				.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(330L)
				.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(397L)
							.facetPriority(232L)
							.name("EXAMPLE-name-Value")
							.isFacetEligible(false)
							.isHighCardinality(true)
							.isLargeData(false)
							.isMultiValued(true)
							.isPrimary(false)
							.isSystem(true)
							.isSummarizable(false)
							.mappedValue("EXAMPLE-mappedValue-Value")
							.isMetricKeyEligible(true)
							.isMetricValueEligible(true)
							.rangeFacetEligible(653L)
							.isTableEligible(false)
							.unitType("EXAMPLE-unitType-Value").build())
						.parserFieldId(284L)
						.parserFieldExpression("EXAMPLE-parserFieldExpression-Value")
						.parserFieldName("EXAMPLE-parserFieldName-Value")
						.storageFieldName("EXAMPLE-storageFieldName-Value")
						.parserFieldIntegratorName("EXAMPLE-parserFieldIntegratorName-Value")
						.parserName("EXAMPLE-parserName-Value")
						.parserFieldSequence(593L)
						.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("Mon Dec 06 02:04:37 UTC 2004"))
				.logTypeTestRequestVersion(435)
				.parserIgnorelineCharacters("EXAMPLE-parserIgnorelineCharacters-Value")
				.isHidden(false)
				.parserSequence(361)
				.parserTimezone("EXAMPLE-parserTimezone-Value")
				.parserFilter(LogAnalyticsParserFilter.builder()
					.id("ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value")
					.agentVersion("EXAMPLE-agentVersion-Value")
					.isInUse(224L)
					.operatingSystem("EXAMPLE-operatingSystem-Value")
					.parserId(823L)
					.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(212L)
						.parserFunctionName("EXAMPLE-parserFunctionName-Value")
						.isEnabled(true)
						.isSystem(false)
						.parserId(832L)
						.parserName("EXAMPLE-parserName-Value")
						.parserMetaPluginName("EXAMPLE-parserMetaPluginName-Value")
						.parserFunctionPriority(860L)
						.parserFunctionParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunctionParameter.builder()
								.parserFunctionId(975L)
								.parserFunctionParameterName("EXAMPLE-parserFunctionParameterName-Value")
								.parserFunctionParameterId(135L)
								.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(176L)
				.shouldTokenizeOriginalText(false)
				.fieldDelimiter("EXAMPLE-fieldDelimiter-Value")
				.fieldQualifier("EXAMPLE-fieldQualifier-Value")
				.type(LogAnalyticsParser.Type.Regex)
				.isUserDeleted(true)
				.isNamespaceAware(true)
				.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("Fri Dec 04 13:35:16 UTC 2048"))
		.eventTypes(new ArrayList<>(Arrays.asList(EventType.builder()
				.eventTypeName("EXAMPLE-eventTypeName-Value")
				.specVersion("EXAMPLE-specVersion-Value")
				.isEnabled(false)
				.isSystem(true)
				.timeUpdated(new Date("Tue Jan 31 12:51:49 UTC 2040")).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(false).build()))).build();

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

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

    
}