![JAR search and dependency download from the Maven repository](/logo.png)
com.azure.resourcemanager.botservice.models.ServiceProviderParameterMetadata Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-botservice Show documentation
Show all versions of azure-resourcemanager-botservice Show documentation
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.
// 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