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

package com.azure.messaging.eventgrid.systemevents;

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

/** Schema of common properties of node pool rolling events. */
@Fluent
public class ContainerServiceNodePoolRollingEventData {
    /*
     * The name of the node pool in the ManagedCluster resource
     */
    @JsonProperty(value = "nodePoolName")
    private String nodePoolName;

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

    /**
     * Get the nodePoolName property: The name of the node pool in the ManagedCluster resource.
     *
     * @return the nodePoolName value.
     */
    public String getNodePoolName() {
        return this.nodePoolName;
    }

    /**
     * Set the nodePoolName property: The name of the node pool in the ManagedCluster resource.
     *
     * @param nodePoolName the nodePoolName value to set.
     * @return the ContainerServiceNodePoolRollingEventData object itself.
     */
    public ContainerServiceNodePoolRollingEventData setNodePoolName(String nodePoolName) {
        this.nodePoolName = nodePoolName;
        return this;
    }
}
