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

package com.azure.resourcemanager.hybridcontainerservice.models;

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

/** The LinuxProfilePropertiesSshPublicKeysItem model. */
@Fluent
public final class LinuxProfilePropertiesSshPublicKeysItem {
    /*
     * KeyData - Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM
     * format with or without headers.
     */
    @JsonProperty(value = "keyData")
    private String keyData;

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

    /**
     * Get the keyData property: KeyData - Certificate public key used to authenticate with VMs through SSH. The
     * certificate must be in PEM format with or without headers.
     *
     * @return the keyData value.
     */
    public String keyData() {
        return this.keyData;
    }

    /**
     * Set the keyData property: KeyData - Certificate public key used to authenticate with VMs through SSH. The
     * certificate must be in PEM format with or without headers.
     *
     * @param keyData the keyData value to set.
     * @return the LinuxProfilePropertiesSshPublicKeysItem object itself.
     */
    public LinuxProfilePropertiesSshPublicKeysItem withKeyData(String keyData) {
        this.keyData = keyData;
        return this;
    }

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