public static class PathParameters.Builder extends Object
PathParameters
entity. The arguments assigned to the builder are
checked for nullity. Therefore, it is possible to call the method several times for different sources (like:
"assign a default value, then try to overwrite it with the preferred one if it is not missing")Modifier and Type | Method and Description |
---|---|
PathParameters.Builder |
attributeMembers(List<String> value)
Assigns the collection of attribute members to the current builder.
|
PathParameters.Builder |
attributes(List<org.apache.commons.lang3.tuple.Pair<String,String>> value)
Assigns the collection of name-value pairs representing attribute values.
|
PathParameters |
build()
Completes the builder
|
PathParameters.Builder |
isFallback(boolean value)
Assigns the
isFallback value to the current builder |
PathParameters.Builder |
path(String value)
Assigns the
path value to the current builder. |
PathParameters.Builder |
textMember(String value)
Assigns the
textMember value to the current builder. |
PathParameters.Builder |
textTransform(StringTransformation value)
Assigns the
textTransform value to the current builder |
PathParameters.Builder |
valueMember(String value)
Assigns the
valueMember value to the current builder. |
PathParameters.Builder |
valueTransform(StringTransformation value)
Assigns the
valueTransform value to the current builder |
public PathParameters.Builder attributeMembers(List<String> value)
value
- A nullable listpublic PathParameters.Builder attributes(List<org.apache.commons.lang3.tuple.Pair<String,String>> value)
value
- A nullable listpublic PathParameters build()
PathParameters
object filled with datapublic PathParameters.Builder isFallback(boolean value)
isFallback
value to the current buildervalue
- A boolean flagpublic PathParameters.Builder path(String value)
path
value to the current builder. Can be used several times for setting a default value
and then a preferred onevalue
- A nullable path
valuepublic PathParameters.Builder textMember(String value)
textMember
value to the current builder. Can be used several times for setting a default
value and then a preferred onevalue
- A nullable textMember
valuepublic PathParameters.Builder textTransform(StringTransformation value)
textTransform
value to the current buildervalue
- StringTransformation
constantpublic PathParameters.Builder valueMember(String value)
valueMember
value to the current builder. Can be used several times for setting a default
value and then a preferred onevalue
- A nullable valueMember
valuepublic PathParameters.Builder valueTransform(StringTransformation value)
valueTransform
value to the current buildervalue
- StringTransformation
constantCopyright © 2024 Exadel, Inc.. All rights reserved.