Interface IPRange.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IPRange.Builder,
,IPRange> SdkBuilder<IPRange.Builder,
,IPRange> SdkPojo
- Enclosing class:
IPRange
-
Method Summary
Modifier and TypeMethodDescriptionThe IP range in Classless Inter-Domain Routing (CIDR) notation.The status of the IP range, for example, "authorized".tags
(Collection<Tag> tags) The list of tags for the IP range.tags
(Consumer<Tag.Builder>... tags) The list of tags for the IP range.The list of tags for the IP range.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
status
The status of the IP range, for example, "authorized".
- Parameters:
status
- The status of the IP range, for example, "authorized".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrip
The IP range in Classless Inter-Domain Routing (CIDR) notation.
- Parameters:
cidrip
- The IP range in Classless Inter-Domain Routing (CIDR) notation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The list of tags for the IP range.
- Parameters:
tags
- The list of tags for the IP range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The list of tags for the IP range.
- Parameters:
tags
- The list of tags for the IP range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The list of tags for the IP range.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-