code: public Option withVpcSecurityGroupMemberships(VpcSecurityGroupMembership... vpcSecurityGroupMemberships) {
          if (this.vpcSecurityGroupMemberships == null) {
              setVpcSecurityGroupMemberships(new com.amazonaws.internal.SdkInternalList<VpcSecurityGroupMembership>(vpcSecurityGroupMemberships.length));
          }
          for (VpcSecurityGroupMembership ele : vpcSecurityGroupMemberships) {
              this.vpcSecurityGroupMemberships.add(ele);
          }
          return this;
      }
docs: <p>
  If the option requires access to a port, then this VPC security group allows access to the port.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setVpcSecurityGroupMemberships(java.util.Collection)} or
  {@link #withVpcSecurityGroupMemberships(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param vpcSecurityGroupMemberships
  If the option requires access to a port, then this VPC security group allows access to the port.
  @return Returns a reference to this object so that method calls can be chained together.