예제 #1
0
 /**
  * One or more security group and AWS account ID pairs.
  *
  * <p>Returns a reference to this object so that method calls can be chained together.
  *
  * @param userIdGroupPairs One or more security group and AWS account ID pairs.
  * @return A reference to this updated object so that method calls can be chained together.
  */
 public IpPermission withUserIdGroupPairs(UserIdGroupPair... userIdGroupPairs) {
   if (getUserIdGroupPairs() == null)
     setUserIdGroupPairs(new java.util.ArrayList<UserIdGroupPair>(userIdGroupPairs.length));
   for (UserIdGroupPair value : userIdGroupPairs) {
     getUserIdGroupPairs().add(value);
   }
   return this;
 }