public static final class AliasProps.Builder extends Object
AliasProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AliasProps |
build()
Builds the configured instance.
|
AliasProps.Builder |
withAdditionalVersions(List<VersionWeight> value)
Sets the value of AdditionalVersions
|
AliasProps.Builder |
withAliasName(String value)
Sets the value of AliasName
|
AliasProps.Builder |
withDescription(String value)
Sets the value of Description
|
AliasProps.Builder |
withVersion(Version value)
Sets the value of Version
|
public AliasProps.Builder withAliasName(String value)
value - Name of this alias.thispublic AliasProps.Builder withVersion(Version value)
value - Function version this alias refers to.thispublic AliasProps.Builder withAdditionalVersions(@Nullable List<VersionWeight> value)
value - Additional versions with individual weights this alias points to.thispublic AliasProps.Builder withDescription(@Nullable String value)
value - Description for the alias.thispublic AliasProps build()
AliasPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.