/** 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 UpsertParserExample {
    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). */
	UpsertLogAnalyticsParserDetails upsertLogAnalyticsParserDetails = UpsertLogAnalyticsParserDetails.builder()
		.content("EXAMPLE-content-Value")
		.description("EXAMPLE-description-Value")
		.displayName("EXAMPLE-displayName-Value")
		.editVersion(352L)
		.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(403L)
					.facetPriority(408L)
					.name("EXAMPLE-name-Value")
					.isFacetEligible(false)
					.isHighCardinality(false)
					.isLargeData(false)
					.isMultiValued(false)
					.isPrimary(false)
					.isSystem(false)
					.isSummarizable(false)
					.mappedValue("EXAMPLE-mappedValue-Value")
					.isMetricKeyEligible(true)
					.isMetricValueEligible(true)
					.rangeFacetEligible(931L)
					.isTableEligible(true)
					.unitType("EXAMPLE-unitType-Value").build())
				.parserFieldId(893L)
				.parserFieldExpression("EXAMPLE-parserFieldExpression-Value")
				.parserFieldName("EXAMPLE-parserFieldName-Value")
				.storageFieldName("EXAMPLE-storageFieldName-Value")
				.parserFieldIntegratorName("EXAMPLE-parserFieldIntegratorName-Value")
				.parserName("EXAMPLE-parserName-Value")
				.parserFieldSequence(398L)
				.parser(LogAnalyticsParser.builder()
					.content("EXAMPLE-content-Value")
					.description("EXAMPLE-description-Value")
					.displayName("EXAMPLE-displayName-Value")
					.editVersion(200L)
					.encoding("EXAMPLE-encoding-Value")
					.exampleContent("EXAMPLE-exampleContent-Value")
					.footerContent("EXAMPLE-footerContent-Value")
					.headerContent("EXAMPLE-headerContent-Value")
					.name("EXAMPLE-name-Value")
					.isDefault(true)
					.isSingleLineContent(false)
					.isSystem(false)
					.language("EXAMPLE-language-Value")
					.timeUpdated(new Date("Sun Feb 26 10:55:27 UTC 2045"))
					.logTypeTestRequestVersion(976)
					.parserIgnorelineCharacters("EXAMPLE-parserIgnorelineCharacters-Value")
					.isHidden(true)
					.parserSequence(670)
					.parserTimezone("EXAMPLE-parserTimezone-Value")
					.parserFilter(LogAnalyticsParserFilter.builder()
						.id("ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value")
						.agentVersion("EXAMPLE-agentVersion-Value")
						.isInUse(484L)
						.operatingSystem("EXAMPLE-operatingSystem-Value")
						.parserId(258L)
						.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(79L)
							.parserFunctionName("EXAMPLE-parserFunctionName-Value")
							.isEnabled(false)
							.isSystem(true)
							.parserId(779L)
							.parserName("EXAMPLE-parserName-Value")
							.parserMetaPluginName("EXAMPLE-parserMetaPluginName-Value")
							.parserFunctionPriority(633L)
							.parserFunctionParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunctionParameter.builder()
									.parserFunctionId(375L)
									.parserFunctionParameterName("EXAMPLE-parserFunctionParameterName-Value")
									.parserFunctionParameterId(636L)
									.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(530L)
					.sources(new ArrayList<>(Arrays.asList(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(356L)
									.isSystem(true)
									.labelConditionOperator("EXAMPLE-labelConditionOperator-Value")
									.sourceId(271L)
									.labelDisplayName("EXAMPLE-labelDisplayName-Value")
									.storageField("EXAMPLE-storageField-Value")
									.labelName("EXAMPLE-labelName-Value")
									.isInlineLabelExistingInDatabase(true).build())))
							.associationCount(557)
							.associationEntity(new ArrayList<>(Arrays.asList(LogAnalyticsAssociation.builder()
									.failureMessage("EXAMPLE-failureMessage-Value")
									.agentId("ocid1.test.oc1..<unique_ID>EXAMPLE-agentId-Value")
									.timeLastAttempted(new Date("Fri Nov 05 21:28:17 UTC 2049"))
									.retryCount(337L)
									.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(745L)
									.isEnabled(true)
									.fieldName("EXAMPLE-fieldName-Value")
									.hashType(275)
									.dataFilterId(434L)
									.isSystem(false)
									.matchRegularExpression("EXAMPLE-matchRegularExpression-Value")
									.order(657L)
									.path("EXAMPLE-path-Value")
									.replacementString("EXAMPLE-replacementString-Value")
									.sourceId(781L)
									.filterType(LogAnalyticsSourceDataFilter.FilterType.DropLogEntry).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(669L)
										.facetPriority(811L)
										.name("EXAMPLE-name-Value")
										.isFacetEligible(true)
										.isHighCardinality(false)
										.isLargeData(false)
										.isMultiValued(false)
										.isPrimary(true)
										.isSystem(true)
										.isSummarizable(true)
										.mappedValue("EXAMPLE-mappedValue-Value")
										.isMetricKeyEligible(false)
										.isMetricValueEligible(true)
										.rangeFacetEligible(920L)
										.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(532L)
												.facetPriority(889L)
												.name("EXAMPLE-name-Value")
												.isFacetEligible(false)
												.isHighCardinality(true)
												.isLargeData(false)
												.isMultiValued(false)
												.isPrimary(true)
												.isSystem(false)
												.isSummarizable(true)
												.mappedValue("EXAMPLE-mappedValue-Value")
												.isMetricKeyEligible(true)
												.isMetricValueEligible(false)
												.rangeFacetEligible(504L)
												.isTableEligible(true)
												.unitType("EXAMPLE-unitType-Value").build())
											.extendedFieldDefinitionId(118L)
											.fieldName("EXAMPLE-fieldName-Value")
											.fieldDisplayName("EXAMPLE-fieldDisplayName-Value")
											.savedRegularExpressionName("EXAMPLE-savedRegularExpressionName-Value")
											.extendedFieldId(754L).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(347L)
									.isSystem(true)
									.regularExpression("EXAMPLE-regularExpression-Value")
									.sourceId(685L)
									.timeUpdated(new Date("Sat May 01 19:05:23 UTC 2004")).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(false)
											.displayName("EXAMPLE-displayName-Value")
											.name("EXAMPLE-name-Value")
											.priority(LogAnalyticsLabelAlias.Priority.Medium).build())))
									.countUsageInAlertRule(915L)
									.countUsageInSource(108L)
									.id("EXAMPLE-id-Value")
									.suggestType(295L)
									.description("EXAMPLE-description-Value")
									.displayName("EXAMPLE-displayName-Value")
									.editVersion(494L)
									.impact("EXAMPLE-impact-Value")
									.isSystem(true)
									.name("EXAMPLE-name-Value")
									.priority(LogAnalyticsLabelView.Priority.Low)
									.recommendation("EXAMPLE-recommendation-Value")
									.type(358L)
									.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(949L)
									.fieldName("EXAMPLE-fieldName-Value")
									.fieldValues(new ArrayList<>(Arrays.asList("EXAMPLE--Value")))
									.groupingField("EXAMPLE-groupingField-Value")
									.isEnabled(true)
									.isSystem(true)
									.displayName("EXAMPLE-displayName-Value")
									.metricReference(524L)
									.name("EXAMPLE-name-Value")
									.metricType(LogAnalyticsMetric.MetricType.Sum)
									.isMetricSourceEnabled(true)
									.operator(LogAnalyticsMetric.Operator.NotNull)
									.entityType("EXAMPLE-entityType-Value")
									.timeUpdated(new Date("Fri Mar 17 23:09:56 UTC 2034"))
									.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())))
							.parameters(new ArrayList<>(Arrays.asList(LogAnalyticsParameter.builder()
									.defaultValue("EXAMPLE-defaultValue-Value")
									.description("EXAMPLE-description-Value")
									.isActive(false)
									.name("EXAMPLE-name-Value")
									.sourceId(94L).build())))
							.patternCount(976)
							.patterns(new ArrayList<>(Arrays.asList(LogAnalyticsSourcePattern.builder()
									.convertedText("EXAMPLE-convertedText-Value")
									.dbParserId(379L)
									.dbPatternDateTimeColumns("EXAMPLE-dbPatternDateTimeColumns-Value")
									.dbPatternDateTimeField("EXAMPLE-dbPatternDateTimeField-Value")
									.dbPatternSequenceColumn("EXAMPLE-dbPatternSequenceColumn-Value")
									.isInclude(false)
									.isDefault(true)
									.patternFilter(LogAnalyticsPatternFilter.builder()
										.agentVersion("EXAMPLE-agentVersion-Value")
										.isInUse(true)
										.operatingSystem("EXAMPLE-operatingSystem-Value")
										.patternId(233L)
										.sourceId(955L)
										.version("EXAMPLE-version-Value").build())
									.alias("EXAMPLE-alias-Value")
									.description("EXAMPLE-description-Value")
									.isEnabled(true)
									.patternId(761L)
									.isSystem(true)
									.sourceId(788L)
									.isAgentWarningSuppressed(true)
									.patternText("EXAMPLE-patternText-Value")
									.patternType(419L)
									.entityType(new ArrayList<>(Arrays.asList("EXAMPLE--Value"))).build())))
							.description("EXAMPLE-description-Value")
							.displayName("EXAMPLE-displayName-Value")
							.editVersion(127L)
							.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(20L)
											.argumentType(700L)
											.argumentId(177L)
											.argumentLookupColumn("EXAMPLE-argumentLookupColumn-Value")
											.argumentLookupColumnPosition(909L)
											.argumentValue("EXAMPLE-argumentValue-Value")
											.argumentReference("EXAMPLE-argumentReference-Value").build())))
									.isEnabled(true)
									.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(324L)
												.argumentType(397L)
												.argumentId(103L)
												.argumentLookupColumn("EXAMPLE-argumentLookupColumn-Value")
												.argumentLookupColumnPosition(721L)
												.argumentValue("EXAMPLE-argumentValue-Value")
												.argumentReference("EXAMPLE-argumentReference-Value").build())))
										.component("EXAMPLE-component-Value")
										.description("EXAMPLE-description-Value")
										.editVersion(462L)
										.metaFunctionId(331L)
										.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(977L)
									.order(366L)
									.isSystem(true)
									.lookupColumn("EXAMPLE-lookupColumn-Value")
									.lookupColumnPosition(380L)
									.lookupDisplayName("EXAMPLE-lookupDisplayName-Value")
									.lookupMode(992L)
									.lookupTable("EXAMPLE-lookupTable-Value")
									.sourceId(469L).build())))
							.sourceId(366L)
							.name("EXAMPLE-name-Value")
							.isSecureContent(false)
							.isSystem(false)
							.isAutoAssociationEnabled(false)
							.isAutoAssociationOverride(true)
							.ruleId(570L)
							.typeName("EXAMPLE-typeName-Value")
							.typeDisplayName("EXAMPLE-typeDisplayName-Value")
							.warningConfig(895L)
							.metadataFields(new ArrayList<>(Arrays.asList(LogAnalyticsSourceMetadataField.builder()
									.fieldName("EXAMPLE-fieldName-Value")
									.isEnabled(true)
									.isSystem(false)
									.key("EXAMPLE-key-Value")
									.sourceName("EXAMPLE-sourceName-Value").build())))
							.labelDefinitions(new ArrayList<>(Arrays.asList(LogAnalyticsLabelDefinition.builder()
									.editVersion(683L)
									.isSystem(false)
									.sourceId(796L)
									.labelName("EXAMPLE-labelName-Value").build())))
							.entityTypes(new ArrayList<>(Arrays.asList(LogAnalyticsSourceEntityType.builder()
									.sourceId(170L)
									.entityType("EXAMPLE-entityType-Value")
									.entityTypeCategory("EXAMPLE-entityTypeCategory-Value")
									.entityTypeDisplayName("EXAMPLE-entityTypeDisplayName-Value").build())))
							.isTimezoneOverride(false)
							.timeUpdated(new Date("Sat Dec 21 08:03:06 UTC 2002"))
							.eventTypes(new ArrayList<>(Arrays.asList(EventType.builder()
									.eventTypeName("EXAMPLE-eventTypeName-Value")
									.specVersion("EXAMPLE-specVersion-Value")
									.isEnabled(false)
									.isSystem(true)
									.timeUpdated(new Date("Tue May 05 09:31:04 UTC 2015")).build()))).build())))
					.shouldTokenizeOriginalText(true)
					.fieldDelimiter("EXAMPLE-fieldDelimiter-Value")
					.fieldQualifier("EXAMPLE-fieldQualifier-Value")
					.type(LogAnalyticsParser.Type.Delimited)
					.isUserDeleted(true)
					.isNamespaceAware(false).build())
				.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")
		.logTypeTestRequestVersion(0)
		.parserIgnorelineCharacters("EXAMPLE-parserIgnorelineCharacters-Value")
		.parserSequence(341)
		.parserTimezone("EXAMPLE-parserTimezone-Value")
		.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(658L)
				.parserFunctionName("EXAMPLE-parserFunctionName-Value")
				.isEnabled(false)
				.isSystem(true)
				.parserId(580L)
				.parserName("EXAMPLE-parserName-Value")
				.parserMetaPluginName("EXAMPLE-parserMetaPluginName-Value")
				.parserFunctionPriority(145L)
				.parserFunctionParameters(new ArrayList<>(Arrays.asList(LogAnalyticsParserFunctionParameter.builder()
						.parserFunctionId(323L)
						.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(true)
							.pluginName("EXAMPLE-pluginName-Value")
							.type("EXAMPLE-type-Value").build()).build()))).build())))
		.shouldTokenizeOriginalText(true)
		.fieldDelimiter("EXAMPLE-fieldDelimiter-Value")
		.fieldQualifier("EXAMPLE-fieldQualifier-Value")
		.type(UpsertLogAnalyticsParserDetails.Type.Delimited)
		.isNamespaceAware(true).build();

	UpsertParserRequest upsertParserRequest = UpsertParserRequest.builder()
		.namespaceName("EXAMPLE-namespaceName-Value")
		.upsertLogAnalyticsParserDetails(upsertLogAnalyticsParserDetails)
		.opcRetryToken("EXAMPLE-opcRetryToken-Value")
		.opcRequestId("A9ZDI629KLYGQVJHBDJU<unique_ID>")
		.ifMatch("EXAMPLE-ifMatch-Value").build();

        /* Send request to the Client */
        UpsertParserResponse response = client.upsertParser(upsertParserRequest);
    }

    
}