public class Ec2IpPermissionType extends java.lang.Object implements ValueFactory<software.amazon.awssdk.services.ec2.model.IpPermission>
ValueFactory.Conversions
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_PROTOCOL |
static java.lang.String |
DEFAULT_RANGE |
Constructor and Description |
---|
Ec2IpPermissionType() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIpProtocol() |
java.lang.String[] |
getIpRanges() |
java.lang.String |
getPortRange() |
void |
setIpProtocol(java.lang.String ipProtocol) |
void |
setIpRanges(java.lang.String... ipRanges) |
void |
setPortRange(java.lang.String portRange) |
java.lang.String |
toString() |
software.amazon.awssdk.services.ec2.model.IpPermission |
toValue()
Provide an instance of the type this is a factory for.
|
public static java.lang.String DEFAULT_PROTOCOL
public static java.lang.String DEFAULT_RANGE
public software.amazon.awssdk.services.ec2.model.IpPermission toValue()
ValueFactory
toValue
in interface ValueFactory<software.amazon.awssdk.services.ec2.model.IpPermission>
public java.lang.String getIpProtocol()
public void setIpProtocol(java.lang.String ipProtocol)
public java.lang.String getPortRange()
public void setPortRange(java.lang.String portRange)
public java.lang.String[] getIpRanges()
public void setIpRanges(java.lang.String... ipRanges)
public java.lang.String toString()
toString
in class java.lang.Object