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

package com.azure.resourcemanager.communication.fluent.models;

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

/** A class that describes the properties that can be updated for CommunicationService resource. */
@Fluent
public final class CommunicationServiceUpdateProperties {
    /*
     * List of email Domain resource Ids.
     */
    @JsonProperty(value = "linkedDomains")
    private List<String> linkedDomains;

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

    /**
     * Get the linkedDomains property: List of email Domain resource Ids.
     *
     * @return the linkedDomains value.
     */
    public List<String> linkedDomains() {
        return this.linkedDomains;
    }

    /**
     * Set the linkedDomains property: List of email Domain resource Ids.
     *
     * @param linkedDomains the linkedDomains value to set.
     * @return the CommunicationServiceUpdateProperties object itself.
     */
    public CommunicationServiceUpdateProperties withLinkedDomains(List<String> linkedDomains) {
        this.linkedDomains = linkedDomains;
        return this;
    }

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