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

package com.azure.resourcemanager.purview.models;

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

/** Collection administrator update. */
@Fluent
public final class CollectionAdminUpdate {
    /*
     * Gets or sets the object identifier of the admin.
     */
    @JsonProperty(value = "objectId")
    private String objectId;

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

    /**
     * Get the objectId property: Gets or sets the object identifier of the admin.
     *
     * @return the objectId value.
     */
    public String objectId() {
        return this.objectId;
    }

    /**
     * Set the objectId property: Gets or sets the object identifier of the admin.
     *
     * @param objectId the objectId value to set.
     * @return the CollectionAdminUpdate object itself.
     */
    public CollectionAdminUpdate withObjectId(String objectId) {
        this.objectId = objectId;
        return this;
    }

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