// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.security.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Connection string for ingesting security data and logs. */
@Immutable
public final class IngestionConnectionString {
    /*
     * The region where ingested logs and data resides
     */
    @JsonProperty(value = "location", access = JsonProperty.Access.WRITE_ONLY)
    private String location;

    /*
     * Connection string value
     */
    @JsonProperty(value = "value", access = JsonProperty.Access.WRITE_ONLY)
    private String value;

    /** Creates an instance of IngestionConnectionString class. */
    public IngestionConnectionString() {
    }

    /**
     * Get the location property: The region where ingested logs and data resides.
     *
     * @return the location value.
     */
    public String location() {
        return this.location;
    }

    /**
     * Get the value property: Connection string value.
     *
     * @return the value value.
     */
    public String value() {
        return this.value;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
