|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.AuthorizeSecurityGroupIngressRequest
public class AuthorizeSecurityGroupIngressRequest
Request to adds permissions to a security group.
Constructor Summary | |
---|---|
AuthorizeSecurityGroupIngressRequest()
|
Method Summary | |
---|---|
String |
getCidrIp()
CIDR range. |
Integer |
getFromPort()
Start of port range for the TCP and UDP protocols, or an ICMP type number. |
String |
getGroupName()
Name of the group to modify. |
String |
getIpProtocol()
IP protocol. |
String |
getSourceSecurityGroupName()
Name of the security group. |
String |
getSourceSecurityGroupOwnerId()
AWS user ID of an account. |
Integer |
getToPort()
End of port range for the TCP and UDP protocols, or an ICMP code. |
void |
setCidrIp(String cidrIp)
CIDR range. |
void |
setFromPort(Integer fromPort)
Start of port range for the TCP and UDP protocols, or an ICMP type number. |
void |
setGroupName(String groupName)
Name of the group to modify. |
void |
setIpProtocol(String ipProtocol)
IP protocol. |
void |
setSourceSecurityGroupName(String sourceSecurityGroupName)
Name of the security group. |
void |
setSourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId)
AWS user ID of an account. |
void |
setToPort(Integer toPort)
End of port range for the TCP and UDP protocols, or an ICMP code. |
String |
toString()
|
AuthorizeSecurityGroupIngressRequest |
withCidrIp(String cidrIp)
CIDR range. |
AuthorizeSecurityGroupIngressRequest |
withFromPort(Integer fromPort)
Start of port range for the TCP and UDP protocols, or an ICMP type number. |
AuthorizeSecurityGroupIngressRequest |
withGroupName(String groupName)
Name of the group to modify. |
AuthorizeSecurityGroupIngressRequest |
withIpProtocol(String ipProtocol)
IP protocol. |
AuthorizeSecurityGroupIngressRequest |
withSourceSecurityGroupName(String sourceSecurityGroupName)
Name of the security group. |
AuthorizeSecurityGroupIngressRequest |
withSourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId)
AWS user ID of an account. |
AuthorizeSecurityGroupIngressRequest |
withToPort(Integer toPort)
End of port range for the TCP and UDP protocols, or an ICMP code. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AuthorizeSecurityGroupIngressRequest()
Method Detail |
---|
public String getGroupName()
public void setGroupName(String groupName)
groupName
- Name of the group to modify. The name must be valid and belong to the
account.public AuthorizeSecurityGroupIngressRequest withGroupName(String groupName)
Returns a reference to this object so that method calls can be chained together.
groupName
- Name of the group to modify. The name must be valid and belong to the
account.
public String getSourceSecurityGroupName()
public void setSourceSecurityGroupName(String sourceSecurityGroupName)
sourceSecurityGroupName
- Name of the security group. Cannot be used when specifying a CIDR IP
address.public AuthorizeSecurityGroupIngressRequest withSourceSecurityGroupName(String sourceSecurityGroupName)
Returns a reference to this object so that method calls can be chained together.
sourceSecurityGroupName
- Name of the security group. Cannot be used when specifying a CIDR IP
address.
public String getSourceSecurityGroupOwnerId()
public void setSourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId)
sourceSecurityGroupOwnerId
- AWS user ID of an account. Cannot be used when specifying a CIDR IP
address.public AuthorizeSecurityGroupIngressRequest withSourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId)
Returns a reference to this object so that method calls can be chained together.
sourceSecurityGroupOwnerId
- AWS user ID of an account. Cannot be used when specifying a CIDR IP
address.
public String getIpProtocol()
public void setIpProtocol(String ipProtocol)
ipProtocol
- IP protocol.public AuthorizeSecurityGroupIngressRequest withIpProtocol(String ipProtocol)
Returns a reference to this object so that method calls can be chained together.
ipProtocol
- IP protocol.
public Integer getFromPort()
public void setFromPort(Integer fromPort)
fromPort
- Start of port range for the TCP and UDP protocols, or an ICMP type
number. An ICMP type number of -1 indicates a wildcard (i.e., any ICMP
type number).public AuthorizeSecurityGroupIngressRequest withFromPort(Integer fromPort)
Returns a reference to this object so that method calls can be chained together.
fromPort
- Start of port range for the TCP and UDP protocols, or an ICMP type
number. An ICMP type number of -1 indicates a wildcard (i.e., any ICMP
type number).
public Integer getToPort()
public void setToPort(Integer toPort)
toPort
- End of port range for the TCP and UDP protocols, or an ICMP code. An
ICMP code of -1 indicates a wildcard (i.e., any ICMP code).public AuthorizeSecurityGroupIngressRequest withToPort(Integer toPort)
Returns a reference to this object so that method calls can be chained together.
toPort
- End of port range for the TCP and UDP protocols, or an ICMP code. An
ICMP code of -1 indicates a wildcard (i.e., any ICMP code).
public String getCidrIp()
public void setCidrIp(String cidrIp)
cidrIp
- CIDR range.public AuthorizeSecurityGroupIngressRequest withCidrIp(String cidrIp)
Returns a reference to this object so that method calls can be chained together.
cidrIp
- CIDR range.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |