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

package com.azure.resourcemanager.providerhub.models;

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

/** The IdentityManagementProperties model. */
@Fluent
public class IdentityManagementProperties {
    /*
     * The type property.
     */
    @JsonProperty(value = "type")
    private IdentityManagementTypes type;

    /*
     * The applicationId property.
     */
    @JsonProperty(value = "applicationId")
    private String applicationId;

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

    /**
     * Get the type property: The type property.
     *
     * @return the type value.
     */
    public IdentityManagementTypes type() {
        return this.type;
    }

    /**
     * Set the type property: The type property.
     *
     * @param type the type value to set.
     * @return the IdentityManagementProperties object itself.
     */
    public IdentityManagementProperties withType(IdentityManagementTypes type) {
        this.type = type;
        return this;
    }

    /**
     * Get the applicationId property: The applicationId property.
     *
     * @return the applicationId value.
     */
    public String applicationId() {
        return this.applicationId;
    }

    /**
     * Set the applicationId property: The applicationId property.
     *
     * @param applicationId the applicationId value to set.
     * @return the IdentityManagementProperties object itself.
     */
    public IdentityManagementProperties withApplicationId(String applicationId) {
        this.applicationId = applicationId;
        return this;
    }

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