@Generated(value="software.amazon.awssdk:codegen") public final class IpRange extends Object implements ToCopyableBuilder<IpRange.Builder,IpRange>
Describes an IPv4 range.
Modifier and Type | Class and Description |
---|---|
static interface |
IpRange.Builder |
Modifier and Type | Method and Description |
---|---|
static IpRange.Builder |
builder() |
String |
cidrIp()
The IPv4 CIDR range.
|
String |
description()
A description for the security group rule that references this IPv4 address range.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
static Class<? extends IpRange.Builder> |
serializableBuilderClass() |
IpRange.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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.
public 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 ._-:/()#,@[]+=;{}!$*
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*
public IpRange.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<IpRange.Builder,IpRange>
public static IpRange.Builder builder()
public static Class<? extends IpRange.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.