CopyableBuilder<Filter.Builder,Filter>
, SdkBuilder<Filter.Builder,Filter>
public static interface Filter.Builder extends CopyableBuilder<Filter.Builder,Filter>
Modifier and Type | Method | Description |
---|---|---|
Filter.Builder |
name(String name) |
The name of the filter.
|
Filter.Builder |
values(String... values) |
The value of the filter.
|
Filter.Builder |
values(Collection<String> values) |
The value of the filter.
|
copy
apply, build
Filter.Builder name(String name)
The name of the filter. The valid values are: "auto-scaling-group"
, "key"
,
"value"
, and "propagate-at-launch"
.
name
- The name of the filter. The valid values are: "auto-scaling-group"
, "key"
,
"value"
, and "propagate-at-launch"
.Filter.Builder values(Collection<String> values)
The value of the filter.
values
- The value of the filter.Filter.Builder values(String... values)
The value of the filter.
NOTE: This method appends the values to the existing list (if any). Use
#setValues(java.util.Collection)
or #withValues(java.util.Collection)
if you want to override
the existing values.
values
- The value of the filter.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.