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

com.azure.resourcemanager.botservice.models.ServiceProviderParameterMetadata Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for BotService Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure Bot Service is a platform for creating smart conversational agents. Package tag package-preview-2021-05.

There is a newer version: 1.0.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.botservice.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Meta data for the Service Provider. */
@Fluent
public final class ServiceProviderParameterMetadata {
    @JsonIgnore private final ClientLogger logger = new ClientLogger(ServiceProviderParameterMetadata.class);

    /*
     * the constraints of the bot meta data.
     */
    @JsonProperty(value = "constraints")
    private ServiceProviderParameterMetadataConstraints constraints;

    /**
     * Get the constraints property: the constraints of the bot meta data.
     *
     * @return the constraints value.
     */
    public ServiceProviderParameterMetadataConstraints constraints() {
        return this.constraints;
    }

    /**
     * Set the constraints property: the constraints of the bot meta data.
     *
     * @param constraints the constraints value to set.
     * @return the ServiceProviderParameterMetadata object itself.
     */
    public ServiceProviderParameterMetadata withConstraints(ServiceProviderParameterMetadataConstraints constraints) {
        this.constraints = constraints;
        return this;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy