public static interface IPRange.Builder extends CopyableBuilder<IPRange.Builder,IPRange>
Modifier and Type | Method and Description |
---|---|
IPRange.Builder |
cidrip(String cidrip)
The IP range in Classless Inter-Domain Routing (CIDR) notation.
|
IPRange.Builder |
status(String status)
The status of the IP range, for example, "authorized".
|
IPRange.Builder |
tags(Collection<Tag> tags)
The list of tags for the IP range.
|
IPRange.Builder |
tags(Consumer<Tag.Builder>... tags)
The list of tags for the IP range.
|
IPRange.Builder |
tags(Tag... tags)
The list of tags for the IP range.
|
copy
applyMutation, build
IPRange.Builder status(String status)
The status of the IP range, for example, "authorized".
status
- The status of the IP range, for example, "authorized".IPRange.Builder cidrip(String cidrip)
The IP range in Classless Inter-Domain Routing (CIDR) notation.
cidrip
- The IP range in Classless Inter-Domain Routing (CIDR) notation.IPRange.Builder tags(Collection<Tag> tags)
The list of tags for the IP range.
tags
- The list of tags for the IP range.IPRange.Builder tags(Tag... tags)
The list of tags for the IP range.
tags
- The list of tags for the IP range.IPRange.Builder tags(Consumer<Tag.Builder>... tags)
The list of tags for the IP range.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.