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

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

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

/** Properties portion of the registration resource. */
@Fluent
public final class RegistrationProperties {
    /*
     * The object identifier associated with the Azure Stack connecting to Azure.
     */
    @JsonProperty(value = "objectId")
    private String objectId;

    /*
     * The identifier of the registered Azure Stack.
     */
    @JsonProperty(value = "cloudId")
    private String cloudId;

    /*
     * Specifies the billing mode for the Azure Stack registration.
     */
    @JsonProperty(value = "billingModel")
    private String billingModel;

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

    /**
     * Get the objectId property: The object identifier associated with the Azure Stack connecting to Azure.
     *
     * @return the objectId value.
     */
    public String objectId() {
        return this.objectId;
    }

    /**
     * Set the objectId property: The object identifier associated with the Azure Stack connecting to Azure.
     *
     * @param objectId the objectId value to set.
     * @return the RegistrationProperties object itself.
     */
    public RegistrationProperties withObjectId(String objectId) {
        this.objectId = objectId;
        return this;
    }

    /**
     * Get the cloudId property: The identifier of the registered Azure Stack.
     *
     * @return the cloudId value.
     */
    public String cloudId() {
        return this.cloudId;
    }

    /**
     * Set the cloudId property: The identifier of the registered Azure Stack.
     *
     * @param cloudId the cloudId value to set.
     * @return the RegistrationProperties object itself.
     */
    public RegistrationProperties withCloudId(String cloudId) {
        this.cloudId = cloudId;
        return this;
    }

    /**
     * Get the billingModel property: Specifies the billing mode for the Azure Stack registration.
     *
     * @return the billingModel value.
     */
    public String billingModel() {
        return this.billingModel;
    }

    /**
     * Set the billingModel property: Specifies the billing mode for the Azure Stack registration.
     *
     * @param billingModel the billingModel value to set.
     * @return the RegistrationProperties object itself.
     */
    public RegistrationProperties withBillingModel(String billingModel) {
        this.billingModel = billingModel;
        return this;
    }

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