All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.security.keyvault.keys.implementation.KeyBasePage Maven / Gradle / Ivy

There is a newer version: 4.0.0-preview.5
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.security.keyvault.keys.implementation;

import com.azure.core.http.rest.Page;
import com.azure.security.keyvault.keys.models.KeyBase;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * A page of Azure App Configuration {@link KeyBase} resources and a link to get the next page of
 * resources, if any.
 */
public final class KeyBasePage implements Page {

    /**
     * The link to the next page.
     */
    @JsonProperty("nextLink")
    private String nextLink;

    /**
     * The list of items.
     */
    @JsonProperty("value")
    private List items;

    /**
     * Gets the link to the next page. Or {@code null} if there are no more resources to fetch.
     *
     * @return The link to the next page.
     */
    @Override
    public String nextLink() {
        return this.nextLink;
    }

    /**
     * Gets the list of {@link KeyBase KeyBase} on this page.
     *
     * @return The list of items in {@link List}.
     */
    @Override
    public List items() {
        return items;
    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy