Java com.amazonaws.services.ec2.model AuthorizeSecurityGroupIngressRequest fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.ec2.model AuthorizeSecurityGroupIngressRequest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.ec2.model AuthorizeSecurityGroupIngressRequest.

The text is from its open source code.

Constructor

AuthorizeSecurityGroupIngressRequest(String groupName, java.util.List ipPermissions)
Constructs a new AuthorizeSecurityGroupIngressRequest object.
AuthorizeSecurityGroupIngressRequest()
Default constructor for AuthorizeSecurityGroupIngressRequest object.

Method

StringgetCidrIp()

The IPv4 address range, in CIDR format.

IntegergetFromPort()

The start of port range for the TCP and UDP protocols, or an ICMP type number.

StringgetGroupName()

[EC2-Classic, default VPC] The name of the security group.

StringgetIpProtocol()

The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers).

IntegergetToPort()

The end of port range for the TCP and UDP protocols, or an ICMP code number.

voidsetCidrIp(String cidrIp)

The IPv4 address range, in CIDR format.

voidsetFromPort(Integer fromPort)

The start of port range for the TCP and UDP protocols, or an ICMP type number.

voidsetGroupId(String groupId)

The ID of the security group.

voidsetGroupName(String groupName)

[EC2-Classic, default VPC] The name of the security group.

voidsetIpPermissions(java.util.Collection ipPermissions)

The sets of IP permissions.

voidsetIpProtocol(String ipProtocol)

The IP protocol name (tcp, udp, icmp) or number (see Protocol Numbers).

voidsetToPort(Integer toPort)

The end of port range for the TCP and UDP protocols, or an ICMP code number.

AuthorizeSecurityGroupIngressRequestwithFromPort(Integer fromPort)

The start of port range for the TCP and UDP protocols, or an ICMP type number.

AuthorizeSecurityGroupIngressRequestwithGroupId(String groupId)

The ID of the security group.

AuthorizeSecurityGroupIngressRequestwithGroupName(String groupName)

[EC2-Classic, default VPC] The name of the security group.

AuthorizeSecurityGroupIngressRequestwithIpPermissions(IpPermission... ipPermissions)

The sets of IP permissions.

AuthorizeSecurityGroupIngressRequestwithIpPermissions( java.util.Collection ipPermissions)

The sets of IP permissions.