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

package com.azure.resourcemanager.kubernetesconfiguration.models;

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

/** Specifies that the scope of the extension is Cluster. */
@Fluent
public final class ScopeCluster {
    /*
     * Namespace where the extension Release must be placed, for a Cluster scoped extension.  If this namespace does
     * not exist, it will be created
     */
    @JsonProperty(value = "releaseNamespace")
    private String releaseNamespace;

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

    /**
     * Get the releaseNamespace property: Namespace where the extension Release must be placed, for a Cluster scoped
     * extension. If this namespace does not exist, it will be created.
     *
     * @return the releaseNamespace value.
     */
    public String releaseNamespace() {
        return this.releaseNamespace;
    }

    /**
     * Set the releaseNamespace property: Namespace where the extension Release must be placed, for a Cluster scoped
     * extension. If this namespace does not exist, it will be created.
     *
     * @param releaseNamespace the releaseNamespace value to set.
     * @return the ScopeCluster object itself.
     */
    public ScopeCluster withReleaseNamespace(String releaseNamespace) {
        this.releaseNamespace = releaseNamespace;
        return this;
    }

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