/** * <p> * [EC2-Classic, default VPC] The name of the security group. You must specify either the security group ID or the * security group name in the request. * </p> * * @param groupName * [EC2-Classic, default VPC] The name of the security group. You must specify either the security group ID * or the security group name in the request. * @return Returns a reference to this object so that method calls can be chained together. */ public AuthorizeSecurityGroupIngressRequest withGroupName(String groupName) { setGroupName(groupName); return this; }
/** * Constructs a new AuthorizeSecurityGroupIngressRequest object. Callers should use the setter or fluent setter * (with...) methods to initialize any additional object members. * * @param groupName * [EC2-Classic, default VPC] The name of the security group. You must specify either the security group ID * or the security group name in the request. * @param ipPermissions * One or more sets of IP permissions. Can be used to specify multiple rules in a single command. */ public AuthorizeSecurityGroupIngressRequest(String groupName, java.util.List<IpPermission> ipPermissions) { setGroupName(groupName); setIpPermissions(ipPermissions); }
/** * Constructs a new AuthorizeSecurityGroupIngressRequest object. * Callers should use the setter or fluent setter (with...) methods to * initialize any additional object members. * * @param groupName [EC2-Classic, default VPC] The name of the security * group. * @param ipPermissions A set of IP permissions. Can be used to specify * multiple rules in a single command. */ public AuthorizeSecurityGroupIngressRequest(String groupName, java.util.List<IpPermission> ipPermissions) { setGroupName(groupName); setIpPermissions(ipPermissions); }
/** * <p> * [EC2-Classic, default VPC] The name of the security group. You must specify either the security group ID or the * security group name in the request. * </p> * * @param groupName * [EC2-Classic, default VPC] The name of the security group. You must specify either the security group ID * or the security group name in the request. * @return Returns a reference to this object so that method calls can be chained together. */ public AuthorizeSecurityGroupIngressRequest withGroupName(String groupName) { setGroupName(groupName); return this; }
/** * Constructs a new AuthorizeSecurityGroupIngressRequest object. Callers should use the setter or fluent setter * (with...) methods to initialize any additional object members. * * @param groupName * [EC2-Classic, default VPC] The name of the security group. You must specify either the security group ID * or the security group name in the request. * @param ipPermissions * One or more sets of IP permissions. Can be used to specify multiple rules in a single command. */ public AuthorizeSecurityGroupIngressRequest(String groupName, java.util.List<IpPermission> ipPermissions) { setGroupName(groupName); setIpPermissions(ipPermissions); }