/** 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(492L)
				.isSystem(false)
				.labelConditionOperator("EXAMPLE-labelConditionOperator-Value")
				.sourceId(924L)
				.labelDisplayName("EXAMPLE-labelDisplayName-Value")
				.storageField("EXAMPLE-storageField-Value")
				.labelName("EXAMPLE-labelName-Value")
				.isInlineLabelExistingInDatabase(false).build())))
		.associationCount(56)
		.associationEntity(new ArrayList<>(Arrays.asList(LogAnalyticsAssociation.builder()
				.failureMessage("EXAMPLE-failureMessage-Value")
				.agentId("ocid1.test.oc1..<unique_ID>EXAMPLE-agentId-Value")
				.timeLastAttempted(new Date("Tue Oct 21 16:36:36 UTC 2014"))
				.retryCount(51L)
				.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(568L)
				.isEnabled(true)
				.fieldName("EXAMPLE-fieldName-Value")
				.hashType(815)
				.dataFilterId(947L)
				.isSystem(false)
				.matchRegularExpression("EXAMPLE-matchRegularExpression-Value")
				.order(879L)
				.path("EXAMPLE-path-Value")
				.replacementString("EXAMPLE-replacementString-Value")
				.sourceId(715L)
				.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(883L)
					.facetPriority(477L)
					.name("EXAMPLE-name-Value")
					.isFacetEligible(true)
					.isHighCardinality(false)
					.isLargeData(true)
					.isMultiValued(false)
					.isPrimary(false)
					.isSystem(true)
					.isSummarizable(true)
					.mappedValue("EXAMPLE-mappedValue-Value")
					.isMetricKeyEligible(true)
					.isMetricValueEligible(false)
					.rangeFacetEligible(589L)
					.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(835L)
							.facetPriority(232L)
							.name("EXAMPLE-name-Value")
							.isFacetEligible(false)
							.isHighCardinality(true)
							.isLargeData(true)
							.isMultiValued(true)
							.isPrimary(false)
							.isSystem(false)
							.isSummarizable(true)
							.mappedValue("EXAMPLE-mappedValue-Value")
							.isMetricKeyEligible(false)
							.isMetricValueEligible(true)
							.rangeFacetEligible(460L)
							.isTableEligible(true)
							.unitType("EXAMPLE-unitType-Value").build())
						.extendedFieldDefinitionId(76L)
						.fieldName("EXAMPLE-fieldName-Value")
						.fieldDisplayName("EXAMPLE-fieldDisplayName-Value")
						.savedRegularExpressionName("EXAMPLE-savedRegularExpressionName-Value")
						.extendedFieldId(291L).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(807L)
				.isSystem(true)
				.regularExpression("EXAMPLE-regularExpression-Value")
				.sourceId(442L)
				.timeUpdated(new Date("Fri May 16 10:56:42 UTC 2014")).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.High).build())))
				.countUsageInAlertRule(330L)
				.countUsageInSource(81L)
				.id("EXAMPLE-id-Value")
				.suggestType(6L)
				.description("EXAMPLE-description-Value")
				.displayName("EXAMPLE-displayName-Value")
				.editVersion(766L)
				.impact("EXAMPLE-impact-Value")
				.isSystem(false)
				.name("EXAMPLE-name-Value")
				.priority(LogAnalyticsLabelView.Priority.Medium)
				.recommendation("EXAMPLE-recommendation-Value")
				.type(667L)
				.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(93L)
				.fieldName("EXAMPLE-fieldName-Value")
				.fieldValues(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
				.groupingField("EXAMPLE-groupingField-Value")
				.isEnabled(true)
				.isSystem(false)
				.displayName("EXAMPLE-displayName-Value")
				.metricReference(411L)
				.name("EXAMPLE-name-Value")
				.metricType(LogAnalyticsMetric.MetricType.Average)
				.isMetricSourceEnabled(true)
				.operator(LogAnalyticsMetric.Operator.InIgnoreCase)
				.entityType("EXAMPLE-entityType-Value")
				.timeUpdated(new Date("Sat Feb 08 09:40:14 UTC 2003"))
				.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(61L)
				.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(333L)
							.facetPriority(80L)
							.name("EXAMPLE-name-Value")
							.isFacetEligible(true)
							.isHighCardinality(true)
							.isLargeData(true)
							.isMultiValued(true)
							.isPrimary(true)
							.isSystem(false)
							.isSummarizable(false)
							.mappedValue("EXAMPLE-mappedValue-Value")
							.isMetricKeyEligible(true)
							.isMetricValueEligible(false)
							.rangeFacetEligible(62L)
							.isTableEligible(true)
							.unitType("EXAMPLE-unitType-Value").build())
						.parserFieldId(859L)
						.parserFieldExpression("EXAMPLE-parserFieldExpression-Value")
						.parserFieldName("EXAMPLE-parserFieldName-Value")
						.storageFieldName("EXAMPLE-storageFieldName-Value")
						.parserFieldIntegratorName("EXAMPLE-parserFieldIntegratorName-Value")
						.parserName("EXAMPLE-parserName-Value")
						.parserFieldSequence(785L)
						.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("Sun Apr 17 13:21:01 UTC 2016"))
				.logTypeTestRequestVersion(328)
				.parserIgnorelineCharacters("EXAMPLE-parserIgnorelineCharacters-Value")
				.isHidden(true)
				.parserSequence(365)
				.parserTimezone("EXAMPLE-parserTimezone-Value")
				.parserFilter(LogAnalyticsParserFilter.builder()
					.id("ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value")
					.agentVersion("EXAMPLE-agentVersion-Value")
					.isInUse(916L)
					.operatingSystem("EXAMPLE-operatingSystem-Value")
					.parserId(363L)
					.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(true)
									.pluginName("EXAMPLE-pluginName-Value")
									.type("EXAMPLE-type-Value").build())))
							.description("EXAMPLE-description-Value")
							.displayName("EXAMPLE-displayName-Value")
							.name("EXAMPLE-name-Value").build())
						.parserFunctionId(842L)
						.parserFunctionName("EXAMPLE-parserFunctionName-Value")
						.isEnabled(true)
						.isSystem(true)
						.parserId(181L)
						.parserName("EXAMPLE-parserName-Value")
						.parserMetaPluginName("EXAMPLE-parserMetaPluginName-Value")
						.parserFunctionPriority(416L)
						.parserFunctionParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunctionParameter.builder()
								.parserFunctionId(77L)
								.parserFunctionParameterName("EXAMPLE-parserFunctionParameterName-Value")
								.parserFunctionParameterId(214L)
								.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(647L)
				.shouldTokenizeOriginalText(false)
				.fieldDelimiter("EXAMPLE-fieldDelimiter-Value")
				.fieldQualifier("EXAMPLE-fieldQualifier-Value")
				.type(LogAnalyticsParser.Type.Xml)
				.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())))
		.parameters(new ArrayList<>(Arrays.asList(LogAnalyticsParameter.builder()
				.defaultValue("EXAMPLE-defaultValue-Value")
				.description("EXAMPLE-description-Value")
				.isActive(false)
				.name("EXAMPLE-name-Value")
				.sourceId(996L).build())))
		.patternCount(583)
		.patterns(new ArrayList<>(Arrays.asList(LogAnalyticsSourcePattern.builder()
				.convertedText("EXAMPLE-convertedText-Value")
				.dbParserId(236L)
				.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(857L)
							.facetPriority(791L)
							.name("EXAMPLE-name-Value")
							.isFacetEligible(true)
							.isHighCardinality(false)
							.isLargeData(true)
							.isMultiValued(true)
							.isPrimary(false)
							.isSystem(false)
							.isSummarizable(true)
							.mappedValue("EXAMPLE-mappedValue-Value")
							.isMetricKeyEligible(false)
							.isMetricValueEligible(true)
							.rangeFacetEligible(540L)
							.isTableEligible(false)
							.unitType("EXAMPLE-unitType-Value").build())
						.parserFieldId(92L)
						.parserFieldExpression("EXAMPLE-parserFieldExpression-Value")
						.parserFieldName("EXAMPLE-parserFieldName-Value")
						.storageFieldName("EXAMPLE-storageFieldName-Value")
						.parserFieldIntegratorName("EXAMPLE-parserFieldIntegratorName-Value")
						.parserName("EXAMPLE-parserName-Value")
						.parserFieldSequence(234L)
						.parser(LogAnalyticsParser.builder()
							.content("EXAMPLE-content-Value")
							.description("EXAMPLE-description-Value")
							.displayName("EXAMPLE-displayName-Value")
							.editVersion(640L)
							.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("Sat Nov 06 19:20:14 UTC 2004"))
							.logTypeTestRequestVersion(16)
							.parserIgnorelineCharacters("EXAMPLE-parserIgnorelineCharacters-Value")
							.isHidden(false)
							.parserSequence(534)
							.parserTimezone("EXAMPLE-parserTimezone-Value")
							.parserFilter(LogAnalyticsParserFilter.builder()
								.id("ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value")
								.agentVersion("EXAMPLE-agentVersion-Value")
								.isInUse(338L)
								.operatingSystem("EXAMPLE-operatingSystem-Value")
								.parserId(968L)
								.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(344L)
									.parserFunctionName("EXAMPLE-parserFunctionName-Value")
									.isEnabled(true)
									.isSystem(false)
									.parserId(126L)
									.parserName("EXAMPLE-parserName-Value")
									.parserMetaPluginName("EXAMPLE-parserMetaPluginName-Value")
									.parserFunctionPriority(680L)
									.parserFunctionParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunctionParameter.builder()
											.parserFunctionId(781L)
											.parserFunctionParameterName("EXAMPLE-parserFunctionParameterName-Value")
											.parserFunctionParameterId(429L)
											.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(348L)
							.shouldTokenizeOriginalText(false)
							.fieldDelimiter("EXAMPLE-fieldDelimiter-Value")
							.fieldQualifier("EXAMPLE-fieldQualifier-Value")
							.type(LogAnalyticsParser.Type.Json)
							.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(false)
				.isDefault(true)
				.patternFilter(LogAnalyticsPatternFilter.builder()
					.agentVersion("EXAMPLE-agentVersion-Value")
					.isInUse(false)
					.operatingSystem("EXAMPLE-operatingSystem-Value")
					.patternId(289L)
					.sourceId(833L)
					.version("EXAMPLE-version-Value").build())
				.alias("EXAMPLE-alias-Value")
				.description("EXAMPLE-description-Value")
				.isEnabled(false)
				.patternId(70L)
				.isSystem(false)
				.sourceId(208L)
				.isAgentWarningSuppressed(false)
				.patternText("EXAMPLE-patternText-Value")
				.patternType(742L)
				.entityType(new ArrayList<>(Arrays.asList("EXAMPLE--Value"))).build())))
		.description("EXAMPLE-description-Value")
		.displayName("EXAMPLE-displayName-Value")
		.editVersion(576L)
		.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(561L)
						.argumentType(658L)
						.argumentId(664L)
						.argumentLookupColumn("EXAMPLE-argumentLookupColumn-Value")
						.argumentLookupColumnPosition(131L)
						.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(717L)
							.argumentType(135L)
							.argumentId(0L)
							.argumentLookupColumn("EXAMPLE-argumentLookupColumn-Value")
							.argumentLookupColumnPosition(849L)
							.argumentValue("EXAMPLE-argumentValue-Value")
							.argumentReference("EXAMPLE-argumentReference-Value").build())))
					.component("EXAMPLE-component-Value")
					.description("EXAMPLE-description-Value")
					.editVersion(159L)
					.metaFunctionId(599L)
					.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(923L)
				.order(289L)
				.isSystem(false)
				.lookupColumn("EXAMPLE-lookupColumn-Value")
				.lookupColumnPosition(611L)
				.lookupDisplayName("EXAMPLE-lookupDisplayName-Value")
				.lookupMode(638L)
				.lookupTable("EXAMPLE-lookupTable-Value")
				.sourceId(263L).build())))
		.sourceId(275L)
		.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(217L)
				.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(658L)
							.facetPriority(656L)
							.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(457L)
							.isTableEligible(false)
							.unitType("EXAMPLE-unitType-Value").build())
						.parserFieldId(919L)
						.parserFieldExpression("EXAMPLE-parserFieldExpression-Value")
						.parserFieldName("EXAMPLE-parserFieldName-Value")
						.storageFieldName("EXAMPLE-storageFieldName-Value")
						.parserFieldIntegratorName("EXAMPLE-parserFieldIntegratorName-Value")
						.parserName("EXAMPLE-parserName-Value")
						.parserFieldSequence(392L)
						.structuredColumnInfo("EXAMPLE-structuredColumnInfo-Value").build())))
				.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 Jul 31 06:37:31 UTC 2029"))
				.logTypeTestRequestVersion(770)
				.parserIgnorelineCharacters("EXAMPLE-parserIgnorelineCharacters-Value")
				.isHidden(true)
				.parserSequence(287)
				.parserTimezone("EXAMPLE-parserTimezone-Value")
				.parserFilter(LogAnalyticsParserFilter.builder()
					.id("ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value")
					.agentVersion("EXAMPLE-agentVersion-Value")
					.isInUse(374L)
					.operatingSystem("EXAMPLE-operatingSystem-Value")
					.parserId(161L)
					.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(531L)
						.parserFunctionName("EXAMPLE-parserFunctionName-Value")
						.isEnabled(true)
						.isSystem(true)
						.parserId(492L)
						.parserName("EXAMPLE-parserName-Value")
						.parserMetaPluginName("EXAMPLE-parserMetaPluginName-Value")
						.parserFunctionPriority(109L)
						.parserFunctionParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunctionParameter.builder()
								.parserFunctionId(933L)
								.parserFunctionParameterName("EXAMPLE-parserFunctionParameterName-Value")
								.parserFunctionParameterId(852L)
								.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(595L)
				.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())))
		.isAutoAssociationEnabled(false)
		.isAutoAssociationOverride(true)
		.ruleId(238L)
		.typeName("EXAMPLE-typeName-Value")
		.typeDisplayName("EXAMPLE-typeDisplayName-Value")
		.warningConfig(803L)
		.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(619L)
				.isSystem(true)
				.sourceId(187L)
				.labelName("EXAMPLE-labelName-Value").build())))
		.entityTypes(new ArrayList<>(Arrays.asList(LogAnalyticsSourceEntityType.builder()
				.sourceId(776L)
				.entityType("EXAMPLE-entityType-Value")
				.entityTypeCategory("EXAMPLE-entityTypeCategory-Value")
				.entityTypeDisplayName("EXAMPLE-entityTypeDisplayName-Value").build())))
		.isTimezoneOverride(true)
		.userParsers(new ArrayList<>(Arrays.asList(LogAnalyticsParser.builder()
				.content("EXAMPLE-content-Value")
				.description("EXAMPLE-description-Value")
				.displayName("EXAMPLE-displayName-Value")
				.editVersion(927L)
				.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(569L)
							.facetPriority(855L)
							.name("EXAMPLE-name-Value")
							.isFacetEligible(true)
							.isHighCardinality(true)
							.isLargeData(false)
							.isMultiValued(false)
							.isPrimary(true)
							.isSystem(false)
							.isSummarizable(true)
							.mappedValue("EXAMPLE-mappedValue-Value")
							.isMetricKeyEligible(false)
							.isMetricValueEligible(false)
							.rangeFacetEligible(190L)
							.isTableEligible(true)
							.unitType("EXAMPLE-unitType-Value").build())
						.parserFieldId(833L)
						.parserFieldExpression("EXAMPLE-parserFieldExpression-Value")
						.parserFieldName("EXAMPLE-parserFieldName-Value")
						.storageFieldName("EXAMPLE-storageFieldName-Value")
						.parserFieldIntegratorName("EXAMPLE-parserFieldIntegratorName-Value")
						.parserName("EXAMPLE-parserName-Value")
						.parserFieldSequence(190L)
						.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("Sat Sep 18 16:01:07 UTC 2038"))
				.logTypeTestRequestVersion(698)
				.parserIgnorelineCharacters("EXAMPLE-parserIgnorelineCharacters-Value")
				.isHidden(true)
				.parserSequence(279)
				.parserTimezone("EXAMPLE-parserTimezone-Value")
				.parserFilter(LogAnalyticsParserFilter.builder()
					.id("ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value")
					.agentVersion("EXAMPLE-agentVersion-Value")
					.isInUse(133L)
					.operatingSystem("EXAMPLE-operatingSystem-Value")
					.parserId(3L)
					.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(253L)
						.parserFunctionName("EXAMPLE-parserFunctionName-Value")
						.isEnabled(false)
						.isSystem(false)
						.parserId(438L)
						.parserName("EXAMPLE-parserName-Value")
						.parserMetaPluginName("EXAMPLE-parserMetaPluginName-Value")
						.parserFunctionPriority(7L)
						.parserFunctionParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunctionParameter.builder()
								.parserFunctionId(64L)
								.parserFunctionParameterName("EXAMPLE-parserFunctionParameterName-Value")
								.parserFunctionParameterId(894L)
								.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(889L)
				.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(true).build()))).build())))
		.timeUpdated(new Date("Wed Jun 07 04:41:31 UTC 2023"))
		.eventTypes(new ArrayList<>(Arrays.asList(EventType.builder()
				.eventTypeName("EXAMPLE-eventTypeName-Value")
				.specVersion("EXAMPLE-specVersion-Value")
				.isEnabled(false)
				.isSystem(true)
				.timeUpdated(new Date("Mon Dec 10 19:47:20 UTC 2012")).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("LVLBWJG8MUZDW7B9Q4DJ<unique_ID>").build();

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

    
}