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

package com.azure.resourcemanager.containerservice.models;

import com.azure.core.annotation.Fluent;

/** Information of user assigned identity used by this add-on. */
@Fluent
public final class ManagedClusterAddonProfileIdentity extends UserAssignedIdentity {
    /** Creates an instance of ManagedClusterAddonProfileIdentity class. */
    public ManagedClusterAddonProfileIdentity() {
    }

    /** {@inheritDoc} */
    @Override
    public ManagedClusterAddonProfileIdentity withResourceId(String resourceId) {
        super.withResourceId(resourceId);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public ManagedClusterAddonProfileIdentity withClientId(String clientId) {
        super.withClientId(clientId);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public ManagedClusterAddonProfileIdentity withObjectId(String objectId) {
        super.withObjectId(objectId);
        return this;
    }

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