Interface IPRange.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IPRange.Builder,IPRange>,SdkBuilder<IPRange.Builder,IPRange>,SdkPojo
- Enclosing class:
- IPRange
public static interface IPRange.Builder extends SdkPojo, CopyableBuilder<IPRange.Builder,IPRange>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IPRange.Buildercidrip(String cidrip)The IP range in Classless Inter-Domain Routing (CIDR) notation.IPRange.Builderstatus(String status)The status of the IP range, for example, "authorized".IPRange.Buildertags(Collection<Tag> tags)The list of tags for the IP range.IPRange.Buildertags(Consumer<Tag.Builder>... tags)The list of tags for the IP range.IPRange.Buildertags(Tag... tags)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 Detail
-
status
IPRange.Builder status(String 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
IPRange.Builder cidrip(String 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
IPRange.Builder tags(Collection<Tag> 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
IPRange.Builder tags(Tag... 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
IPRange.Builder tags(Consumer<Tag.Builder>... tags)
The list of tags for the IP range.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
-