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 IPv4 CIDR range.IpRange.Builderdescription(String description)A description for the security group rule that references this IPv4 address 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
-
cidrIp
IpRange.Builder cidrIp(String cidrIp)
The IPv4 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv4 address, use the /32 prefix length.
- Parameters:
cidrIp- The IPv4 CIDR range. You can either specify a CIDR range or a source security group, not both. To specify a single IPv4 address, use the /32 prefix length.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
IpRange.Builder description(String description)
A description for the security group rule that references this IPv4 address range.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
- Parameters:
description- A description for the security group rule that references this IPv4 address range.Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=&;{}!$*
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-