CopyableBuilder<ParameterConstraints.Builder,ParameterConstraints>
, SdkBuilder<ParameterConstraints.Builder,ParameterConstraints>
public static interface ParameterConstraints.Builder extends CopyableBuilder<ParameterConstraints.Builder,ParameterConstraints>
Modifier and Type | Method | Description |
---|---|---|
ParameterConstraints.Builder |
allowedValues(String... allowedValues) |
A list of values that are permitted for a parameter.
|
ParameterConstraints.Builder |
allowedValues(Collection<String> allowedValues) |
A list of values that are permitted for a parameter.
|
copy
apply, build
ParameterConstraints.Builder allowedValues(Collection<String> allowedValues)
A list of values that are permitted for a parameter.
allowedValues
- A list of values that are permitted for a parameter.ParameterConstraints.Builder allowedValues(String... allowedValues)
A list of values that are permitted for a parameter.
NOTE: This method appends the values to the existing list (if any). Use
#setAllowedValues(java.util.Collection)
or #withAllowedValues(java.util.Collection)
if you
want to override the existing values.
allowedValues
- A list of values that are permitted for a parameter.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.