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

package com.azure.resourcemanager.vmwarecloudsimple.models;

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

/** Windows Identity. User data customization. */
@Fluent
public final class CustomizationIdentityUserData {
    /*
     * Is password predefined in customization policy
     */
    @JsonProperty(value = "isPasswordPredefined")
    private Boolean isPasswordPredefined;

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

    /**
     * Get the isPasswordPredefined property: Is password predefined in customization policy.
     *
     * @return the isPasswordPredefined value.
     */
    public Boolean isPasswordPredefined() {
        return this.isPasswordPredefined;
    }

    /**
     * Set the isPasswordPredefined property: Is password predefined in customization policy.
     *
     * @param isPasswordPredefined the isPasswordPredefined value to set.
     * @return the CustomizationIdentityUserData object itself.
     */
    public CustomizationIdentityUserData withIsPasswordPredefined(Boolean isPasswordPredefined) {
        this.isPasswordPredefined = isPasswordPredefined;
        return this;
    }

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