// 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.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Configuration for servers Arc auto provisioning. */
@Fluent
public final class DefenderForServersAwsOfferingArcAutoProvisioningConfiguration {
    /*
     * Optional HTTP proxy endpoint to use for the Arc agent
     */
    @JsonProperty(value = "proxy")
    private String proxy;

    /*
     * Optional Arc private link scope resource id to link the Arc agent
     */
    @JsonProperty(value = "privateLinkScope")
    private String privateLinkScope;

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

    /**
     * Get the proxy property: Optional HTTP proxy endpoint to use for the Arc agent.
     *
     * @return the proxy value.
     */
    public String proxy() {
        return this.proxy;
    }

    /**
     * Set the proxy property: Optional HTTP proxy endpoint to use for the Arc agent.
     *
     * @param proxy the proxy value to set.
     * @return the DefenderForServersAwsOfferingArcAutoProvisioningConfiguration object itself.
     */
    public DefenderForServersAwsOfferingArcAutoProvisioningConfiguration withProxy(String proxy) {
        this.proxy = proxy;
        return this;
    }

    /**
     * Get the privateLinkScope property: Optional Arc private link scope resource id to link the Arc agent.
     *
     * @return the privateLinkScope value.
     */
    public String privateLinkScope() {
        return this.privateLinkScope;
    }

    /**
     * Set the privateLinkScope property: Optional Arc private link scope resource id to link the Arc agent.
     *
     * @param privateLinkScope the privateLinkScope value to set.
     * @return the DefenderForServersAwsOfferingArcAutoProvisioningConfiguration object itself.
     */
    public DefenderForServersAwsOfferingArcAutoProvisioningConfiguration withPrivateLinkScope(String privateLinkScope) {
        this.privateLinkScope = privateLinkScope;
        return this;
    }

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