Class ServiceProviderParameterMetadataConstraints
- java.lang.Object
-
- com.azure.resourcemanager.botservice.models.ServiceProviderParameterMetadataConstraints
-
public final class ServiceProviderParameterMetadataConstraints extends Object
the constraints of the bot meta data.
-
-
Constructor Summary
Constructors Constructor Description ServiceProviderParameterMetadataConstraints()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
required()
Get the required property: Whether required the constraints of the bot meta data.void
validate()
Validates the instance.ServiceProviderParameterMetadataConstraints
withRequired(Boolean required)
Set the required property: Whether required the constraints of the bot meta data.
-
-
-
Method Detail
-
required
public Boolean required()
Get the required property: Whether required the constraints of the bot meta data.- Returns:
- the required value.
-
withRequired
public ServiceProviderParameterMetadataConstraints withRequired(Boolean required)
Set the required property: Whether required the constraints of the bot meta data.- Parameters:
required
- the required value to set.- Returns:
- the ServiceProviderParameterMetadataConstraints object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-