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

package com.azure.resourcemanager.workloads.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** Gets or sets the mapping for SID to Environment/Applications. */
@Fluent
public final class SapLandscapeMonitorSidMapping {
    /*
     * Gets or sets the name of the grouping.
     */
    @JsonProperty(value = "name")
    private String name;

    /*
     * Gets or sets the list of SID's.
     */
    @JsonProperty(value = "topSid")
    private List<String> topSid;

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

    /**
     * Get the name property: Gets or sets the name of the grouping.
     *
     * @return the name value.
     */
    public String name() {
        return this.name;
    }

    /**
     * Set the name property: Gets or sets the name of the grouping.
     *
     * @param name the name value to set.
     * @return the SapLandscapeMonitorSidMapping object itself.
     */
    public SapLandscapeMonitorSidMapping withName(String name) {
        this.name = name;
        return this;
    }

    /**
     * Get the topSid property: Gets or sets the list of SID's.
     *
     * @return the topSid value.
     */
    public List<String> topSid() {
        return this.topSid;
    }

    /**
     * Set the topSid property: Gets or sets the list of SID's.
     *
     * @param topSid the topSid value to set.
     * @return the SapLandscapeMonitorSidMapping object itself.
     */
    public SapLandscapeMonitorSidMapping withTopSid(List<String> topSid) {
        this.topSid = topSid;
        return this;
    }

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