public static class SdkLanguageOptionalParameters.Builder extends Object
Constructor and Description |
---|
Builder() |
public SdkLanguageOptionalParameters.Builder paramName(String paramName)
Name of the parameter.
paramName
- the value to setpublic SdkLanguageOptionalParameters.Builder displayName(String displayName)
Display name of the parameter.
displayName
- the value to setpublic SdkLanguageOptionalParameters.Builder description(String description)
Description for the parameter.
description
- the value to setpublic SdkLanguageOptionalParameters.Builder isRequired(Boolean isRequired)
Information on whether the parameter is required or not.
isRequired
- the value to setpublic SdkLanguageOptionalParameters.Builder maxSize(BigDecimal maxSize)
Maximum size as input value for this parameter.
maxSize
- the value to setpublic SdkLanguageOptionalParameters.Builder inputType(SdkLanguageOptionalParameters.InputType inputType)
The input type for this param. - Input type is ENUM when only specific list of input strings are allowed. - Input type is EMAIL when input type is an email ID. - Input type is URI when input type is an URI. - Input type is STRING in all other cases.
inputType
- the value to setpublic SdkLanguageOptionalParameters.Builder allowedValues(List<SdkLanguageOptionalParametersAllowedValue> allowedValues)
List of allowed input values. Example: [{"name": "name1", "description":
"description1"}, …]
allowedValues
- the value to setpublic SdkLanguageOptionalParameters build()
public SdkLanguageOptionalParameters.Builder copy(SdkLanguageOptionalParameters model)
Copyright © 2016–2024. All rights reserved.