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

package com.azure.resourcemanager.subscription.models;

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

/** The new name of the subscription. */
@Fluent
public final class SubscriptionName {
    /*
     * New subscription name
     */
    @JsonProperty(value = "subscriptionName")
    private String subscriptionName;

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

    /**
     * Get the subscriptionName property: New subscription name.
     *
     * @return the subscriptionName value.
     */
    public String subscriptionName() {
        return this.subscriptionName;
    }

    /**
     * Set the subscriptionName property: New subscription name.
     *
     * @param subscriptionName the subscriptionName value to set.
     * @return the SubscriptionName object itself.
     */
    public SubscriptionName withSubscriptionName(String subscriptionName) {
        this.subscriptionName = subscriptionName;
        return this;
    }

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